"...a different way of extracting "34"...
my $flag = grep { /(34)$/ } split / /, $string;
Update: I regret this crap. Had a bad day, or and it is to too late, sorry.
Update 2: my $flag = ( ( split / /, $string )[-1] == 34 );
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re^2: reading a value from a given text
by karlgoethebier
in thread reading a value from a given text
by get2vijay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |