Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Getting from Oracle to become a text file

by Rhose (Priest)
on Oct 04, 2001 at 21:14 UTC ( #116770=note: print w/replies, xml ) Need Help??


in reply to Getting from Oracle to become a text file

I would change:

# output file

$newfile = ">./batch_test.txt";

# open the new .txt file

open(BATCH, "$newfile") || die "Can't open $newfile : the batch_test file. $!";

to

# output file

$newfile = "./batch_test.txt";

# open the new .txt file

open(BATCH, ">$newfile") || die "Can't open $newfile : the batch_test file. $!";

and

print $newfile;

print "\n";

to

print BATCH $_,"\n";

  • Comment on Re: Getting from Oracle to become a text file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://116770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2019-08-25 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?