$_ = "2aaa";
@d = m/(\d+)(a){\1}/;
# @d = (2, a, a);

That construct doesn't seem to work; Is there a way to get it to work?  Is
there an idiom that doesn't involve two passes, i.e. something other than:

($d) = m/(\d+)/;
@d = ($d, m/(a){$d}/);

Thanks,

-Aaron

-- 
 Aaron J Mackey
 Pearson Laboratory
 University of Virginia
 (434) 924-2821
 [EMAIL PROTECTED]


Reply via email to