$string="alpha number='42'"
$string=~s/.*\=// ;
$string=~s/\'//g;

to get 42 and not '42'


can these two substitutions be combined?

thank you.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to