Thank you. That's a little bit over my head though. I'm guessing it has something to do with making sure the environment is right for cron. Which I've been doing by adding libs.
I think the problem might actually be that the XS version of Scalar::Util somehow needs to be run through the C compiler. Which cron can't get to. I think.
I'm trying Net::Twitter::Lite now. So as to bypass the use of Moose altogether. | [reply] |
Thank you. That's a little bit over my head though. I'm guessing it has something to do with making sure the environment is right for cron. Which I've been doing by adding libs.
The enviroment is a variable, in perl you access it through %ENV.
I think the problem might actually be that the XS version of Scalar::Util somehow needs to be run through the C compiler. Which cron can't get to. I think.
No, not at all. Once a module is installed, its available. When installing it might need a compiler, like Scalar::Util, but after it is installed, compiler isn't involved.
| [reply] |
Hmmm. Okay, I'm getting this:
"Uncaught exception from user code:
weaken is only available with the XS version of Scalar::Util at"
But only when it's cron that's trying to run the script. Otherwise it works.
The doc for scalar::util says 'weaken' is only available in the XS version, which apparently is compiled in C. ... a moot point, as you say. I've got to find the durn XS version so I can point cron to it.
| [reply] |