|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^3: Using variable to hold regex expressionby Kenosis (Deacon) |
| on Mar 12, 2013 at 00:31 UTC ( #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
|
|
||||||||||||||||||||