Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Named captures or positional variablesby RonW (Parson) |
on Dec 11, 2014 at 00:34 UTC ( [id://1109994]=note: print w/replies, xml ) | Need Help?? |
Maybe something like use revar name => "regex"; or use revar '$name' => "regex"; (Which are similar to use constant or use vars) Note: I suspect this would create "our" variables. Is it possible for a pragma to create "my" variables in the use-ing package?
In Section
Seekers of Perl Wisdom
|
|