Zeno Izen has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to get a script using Net::Twitter to work from cron. (Ubuntu KK). Works fine elsewise, but naturally I've got to make all sorts of adjustments to get it to run from cron. I've added libs and that got me so far.
Now it seems Moose won't run because it requires the Scalar::Util 'weaken' function which, in cron's environment, doesn't work because it's not using the 'XS version'.
I changed the shebang line to use perl5. Still no go. The question is: How do I get my script to run the XS version of Scalar::Util in cron's environment?
Also, you may find my understanding and vocabulary ever so patchy because I'm learning all of this by trial and error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting Moose &/or Net::Twitter to work from cron.
by Anonymous Monk on Mar 28, 2010 at 17:18 UTC | |
by Zeno Izen (Sexton) on Mar 28, 2010 at 18:55 UTC | |
by Anonymous Monk on Mar 28, 2010 at 18:58 UTC | |
by Zeno Izen (Sexton) on Mar 28, 2010 at 19:08 UTC | |
by Anonymous Monk on Mar 28, 2010 at 19:11 UTC | |
|
Re: Getting Moose &/or Net::Twitter to work from cron.
by CountZero (Bishop) on Mar 28, 2010 at 18:20 UTC | |
by Zeno Izen (Sexton) on Mar 28, 2010 at 18:58 UTC | |
|
Re: Getting Moose &/or Net::Twitter to work from cron.
by Zeno Izen (Sexton) on Mar 28, 2010 at 19:13 UTC | |
by rastoboy (Monk) on Mar 29, 2010 at 02:36 UTC |