in reply to Re: opening new file in different directory
in thread opening new file in different directory
fails, whereasmy $file = "/home/htdocs/hosted/thinweb/trainingboard.co.uk/consumers/ +savedsearches/$g{'SearchFile'}"; open(WRITE,">$file") or die $!;
succeeds. (NB the earlier lines I posted were re-written to make the examples easier to read - the above are as in my actual script, just in case there's something else funny going on... in which case I apologise for my over-zealous desire to do a tidy post).chdir "/home/htdocs/hosted/thinweb/trainingboard.co.uk/consumers/saved +searches"; open(WRITE,">$g{'SearchFile'}") or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re(3):: opening new file in different directory
by graq (Curate) on Oct 23, 2001 at 19:44 UTC | |
by George_Sherston (Vicar) on Oct 23, 2001 at 19:49 UTC | |
by IraTarball (Monk) on Oct 23, 2001 at 20:48 UTC | |
by buckaduck (Chaplain) on Oct 24, 2001 at 00:43 UTC | |
by IraTarball (Monk) on Oct 24, 2001 at 01:26 UTC | |
|
Re: Re: Re: opening new file in different directory
by IraTarball (Monk) on Oct 23, 2001 at 20:42 UTC | |
by graq (Curate) on Oct 24, 2001 at 18:47 UTC |