in reply to Your favourite gory detail...
in a parserish way. Then I have that forehead-slapping moment, and change it to this:if ( ( $a, $b, $c ) = $current_text =~ s/$some_regex// ) { # do something useful next READ_MORE_DATA }
if ( $current_text =~ s/$some_regex// ) { ( $a, $b, $c ) = ( $1, $2, $3 ); # do something useful next READ_MORE_DATA }
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|