dan said:
> well i could spend ample amount of time testing code for someone else.
> like everyone else here, i'm only offering suggestions on how a problem
> can be overcome. seriously, if someone is trying to create a perl
> script, they'll have at least some knowledge in perl on how to fix
> er
use this
open (FILE _HANDDLE,'>c:\abc\abc.abc');
- Original Message -
From: "Ankit Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 5:07 AM
Subject: Files at different location
> Hi,
>
> I have wr
use this
open (FILE _HANDDLE,'>c:\abc\abc.abc');
- Original Message -
From: "Ankit Gupta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 5:07 AM
Subject: Files at different location
> Hi,
>
> I have wr
well i could spend ample amount of time testing code for someone else. like
everyone else here, i'm only offering suggestions on how a problem can be
overcome. seriously, if someone is trying to create a perl script, they'll
have at least some knowledge in perl on how to fix errors if something isn
dan said:
> __ START __
> my $path = qq~C:\path\where\to\put\stuff~;
> open (WHATEVER,qq~>$path\filename.ext~) or die (qq~Can't open
> $path\filename.ext for writing : $!~);
> etc..
> close(WHATEVER);
> __ END __
> Note: untested, but i doubt anything can go wrong.
Might I suggest testing next ti
__ START __
my $path = qq~C:\path\where\to\put\stuff~;
open (WHATEVER,qq~>$path\filename.ext~) or die (qq~Can't open
$path\filename.ext for writing : $!~);
etc..
close(WHATEVER);
__ END __
Note: untested, but i doubt anything can go wrong.
give that a go.
dan
"Ankit Gupta" <[EMAIL PROTECTED]> wr
Hi,
I have written script that makes lot of files but the problem is that my
script stores all the files at the location from where the script is run. I
have tried usingt chdir("c:\abc") in order to store all the files in abc
directory but its of no use and still it stores files in the directory