Front page | perl.fwp |
Postings from July 2002
m/(\d+)(a){\1}/ ??
Thread Next
From:
Aaron J Mackey
Date:
July 12, 2002 10:42
Subject:
m/(\d+)(a){\1}/ ??
Message ID:
Pine.OSF.4.33.0207121335180.6023-100000@alpha10.bioch.virginia.edu
$_ = "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
amackey@virginia.edu
Thread Next
-
m/(\d+)(a){\1}/ ??
by Aaron J Mackey