Then you can do "perl foobar.pl file=c:\foo\bar.txt". Observe what happens. -NMuse CGI qw(:all); $file2 = param('file') unless $debug; print "$file2\n"; $file2 =~ s[\\][/]g;
In reply to RE: Re: / to \ substitution
by NeverMore
in thread / to \ substitution
by NeverMore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |