Never use backslashes in filenames
Why not? This works fine:
$filename = "C:\\foo.txt"; # as does this $filename = 'C:\foo.txt'; # but this won't because perl thinks the \ relates to the ' $path = 'C:\some\path\'; $fullpath = $path . $filename; # however this is fine $path = "C:\\some\\path\\";
For more on this subject see Paths in Perl
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: Parsing a comma delimited file
by tachyon
in thread Parsing a comma delimited file
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |