There's more than one way to do things | |
PerlMonks |
Re^2: Failed to open file for writeby SimonPratt (Friar) |
on Apr 13, 2016 at 12:10 UTC ( [id://1160310]=note: print w/replies, xml ) | Need Help?? |
Actually they aren't. Perl doesn't interpolate single quoted strings. The actual issue is that OP defined a file for output and is then trying to tack a filename onto the end of it and open it for writing, ie 'D:\research\audit fee models\filings\filenames\filenames.txt'.'/'.$filename No idea about Linux, but this doesn't work in a Windows world
In Section
Seekers of Perl Wisdom
|
|