Are you on Unix or on Windows? On Unix, the shell would interpolate $f in double quoted strings, so it's usually easier to use single quotes for Perl one-liners... OTOH, on Windows you'd have to use double quotes, as single quotes don't work (as quotes) with the standard shell...
In reply to Re^3: Delete strings
by almut
in thread Delete strings
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |