in reply to Opening filenames with special characters
I think your code should work as-is. Maybe the problem is in some other part of it? If your open fails, be sure to print $! to find out why.
open my $fhandle, '<', 'foo*bar' or die "Can't read foo*bar: $!";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Opening filenames with special characters
by Zadeh (Beadle) on Mar 14, 2007 at 17:13 UTC | |
by ikegami (Patriarch) on Mar 14, 2007 at 17:54 UTC |