Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using STDIN with IO::CaptureOutput

by jfroebe (Parson)
on Jan 09, 2012 at 20:52 UTC ( #947069=note: print w/replies, xml ) Need Help??


in reply to Using STDIN with IO::CaptureOutput

You're question is already answered but for your particular issue, check the parameter options for your 'sql' program. There might very well be an input_file option (typically '-i <filename>' or @filename).. or there might be a way to load the file interactively from within 'sql' : loadfile '<filename>'.

Jason L. Froebe

Blog, Tech Blog

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947069]
help
Chatterbox?
[shmem]: msh210: you can save the perlbug text in a file and send that via your mail agent of choice
[msh210]: hm, okay, I'll try, thanks
[shmem]: ...not as an attachment, it's probably better to c&p that into the mail body

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2017-04-24 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.