in reply to Re: reading a value from a given text
in thread reading a value from a given text
"...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»
|
|---|