Gossamer Forum
Home : General : Perl Programming :

Grab output from a Shell/Cron script?

Quote Reply
Grab output from a Shell/Cron script?
Hi. Just wondering, if I have a Perl scipt that outputs;

Quote:
testing 1
test 2

test3

test 4

test 5


... what/how could I store the output so far in a script, into a variable? I checked here;

http://www.perldoc.com/...8.0/pod/perlvar.html

.. and also searched Google, but couldn't find anything that helps :( I'm pretty sure its gotta be possible. For example, LSQL prints the output of commands into the log file.. so there must be a way to grab it, right? Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Grab output from a Shell/Cron script? Andy 10834 Sep 4, 2003, 1:25 PM
Thread Re: [Andy] Grab output from a Shell/Cron script?
Stealth 10569 Sep 4, 2003, 2:38 PM
Thread Re: [Stealth] Grab output from a Shell/Cron script?
Andy 10579 Sep 4, 2003, 2:42 PM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10588 Sep 5, 2003, 11:51 AM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10566 Sep 5, 2003, 11:54 AM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10561 Sep 5, 2003, 4:29 PM
Post Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10471 Sep 6, 2003, 1:28 AM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10532 Sep 6, 2003, 2:53 AM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10527 Sep 6, 2003, 6:29 AM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10507 Sep 6, 2003, 6:32 AM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10563 Sep 6, 2003, 12:11 PM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10488 Sep 6, 2003, 12:15 PM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10560 Sep 6, 2003, 4:43 PM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10486 Sep 7, 2003, 2:25 AM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10540 Sep 7, 2003, 6:18 AM
Thread Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10497 Sep 7, 2003, 6:20 AM
Thread Re: [Andy] Grab output from a Shell/Cron script?
fuzzy logic 10486 Sep 8, 2003, 12:38 AM
Post Re: [fuzzy logic] Grab output from a Shell/Cron script?
Andy 10501 Sep 8, 2003, 12:41 AM