Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Using variable to hold regex expressionby Kenosis (Priest) |
on Mar 12, 2013 at 00:31 UTC ( [id://1022905]=note: print w/replies, xml ) | Need Help?? |
If I'm understaing you correctly, the my ( $firstIP, $secondIP ) = /($RE{net}{IPv4})/g in the above code does what you've described.
In Section
Seekers of Perl Wisdom
|
|