>>>>> "SHC" == Shawn H Corey <[email protected]> writes:
SHC> Mishustin Alexey wrote: >> Aaaa, >> >> ($raised_num) = 'Tab_22' =~ /^Tab_(.*)$/; >> print $raised_num."\n"; SHC> Not quite right. Try: SHC> ( $raised_num = 'Tab_22' ) =~ /^Tab_(.*)$/; that does nither more than assign 'Tab_22' to the var and then grab the number into $1. he wants the grabbed number in the variable. uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
