thirtySeven has asked for the wisdom of the Perl Monks concerning the following question:
I have settled into using this syntax for assigning variables based on regex matches.
I am constantly doing this so I want to know other ways to do the same thing.$foo = $1 if $foo =~ /(hello)/;
Back to
Seekers of Perl Wisdom