in reply to Re: How to remove non-numbers from string
in thread How to remove non-numbers from string
Problematic with warnings enabled:
c:\@Work\Perl\monks>perl -wMstrict -le "my $string = 'data.csv'; $string =~ s/\D//g; $string += 0; print qq{'$string'}; " Argument "" isn't numeric in addition (+) at -e line 1. '0'
Give a man a fish: <%-(-(-(-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to remove non-numbers from string
by kgherman (Novice) on Jun 21, 2015 at 21:32 UTC |