in reply to Re: Matching and making accesible an arbitrary number of subpatterns w/a regex?
in thread Matching and making accesible an arbitrary number of subpatterns w/a regex?
my $src_string = 'aaa:bbb:ccc:ddd:eee:'; my @results = split /:/, $src_string; pop @results;
Update: Oops, I missed the last line of the OP. Well, neither solution populates $1, $2, $3, so I guess neither answers the OP.
|
|---|