Hi Bhanu,
I just tried this script on my Windows XP Virtual machine:
[CODE]
#!/usr/bin/perl
use strict;
use warnings;
use autodie;
open my $out, '>', 'foo?hello.txt';
print {$out} "Foobar\n";
close($out);
[/CODE]
It failed with an exception. The same script with the '?' in the filename
replaced by '-' worked fine. Why do you need to create such a filename? Is it
for cracking purposes? If you interested in using funny characters in the keys
of your data, then you should use a database of some sort:
http://perl-begin.org/uses/databases/
(Please reply to the list).
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish
http://www.shlomifish.org/
Parody of "The Fountainhead" -
http://shlom.in/towtf
There is an IGLU Cabal, but its only purpose is to deny the existence of an
IGLU Cabal.
— Martha Greenberg
Please reply to list if it's a mailing list post -
http://shlom.in/reply .