> -----Original Message----- > From: Dichev, Christo [SMTP:[EMAIL PROTECTED]] > > our $file = "f1.txt"; > > The current directory is not necessarily that of your script. You can do this:
use File::Basename; my $dir = dirname(__FILE__); my $file = "$dir\\f1.txt"; _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
