Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: cpan module to do stuff remotely

by tospo (Hermit)
on Jun 06, 2012 at 06:33 UTC ( #974646=note: print w/replies, xml ) Need Help??


in reply to cpan module to do stuff remotely

Why not just a cron job that uses wget or something to download the file and then simply executes it? Your files are shell scripts anyway and you want to execute them on the local machine, so why use Perl at all for this purpose? As for error handling you can redirect STDERROR to some sort of log file or catch errors and write something to a file or whatever you need to do. Isn't that all you need?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974646]
help
Chatterbox?
[choroba]: It should greatly simplify the parsing code, no flags or additional reading of the next buffer needed
[Corion]: choroba: Yeah, that's why I like that approach; it seems even quite obvious in retrospect to me, but many things are in hindsight ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2016-12-06 15:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (109 votes). Check out past polls.