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: <%-(-(-(-<
In reply to Re^2: How to remove non-numbers from string
by AnomalousMonk
in thread How to remove non-numbers from string
by kgherman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |