Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Getting from Oracle to become a text file

by Rhose (Priest)
on Oct 04, 2001 at 21:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://116770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found