in reply to Re: / to \ substitution
in thread / to \ substitution
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: / to \ substitution
by NeverMore (Acolyte) on May 31, 2000 at 08:02 UTC | |
by ZZamboni (Curate) on May 31, 2000 at 08:16 UTC |