in reply to it seems i don't understand =~
$value =~ s/\D//g; $value =~ $1 if( $value =~ /(\d+)/ ){ $value =~ $1 } else { undef $value; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: it seems i don't understand =~
by ikegami (Patriarch) on Mar 30, 2009 at 02:28 UTC | |
|