Hi,
I have a script in cron that I haven't changed in months. I use the DateTime module in the script. This afternoon, the script stopping running properly. I ran the script manually and received the error below.
Unrecognized character \x0E; marked by <-- HERE after warnings;<-- HE +RE near column 14 at /usr/local/share/perl/5.28.1/Role/Tiny/With.pm l +ine 4. Compilation failed in require at /usr/local/share/perl/5.28.1/Specio/C +oercion.pm line 10. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/Spec +io/Coercion.pm line 10. Compilation failed in require at /usr/local/share/perl/5.28.1/Specio/D +eclare.pm line 11. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/Spec +io/Declare.pm line 11. Compilation failed in require at /usr/local/lib/arm-linux-gnueabihf/pe +rl/5.28.1/DateTime/Types.pm line 12. BEGIN failed--compilation aborted at /usr/local/lib/arm-linux-gnueabih +f/perl/5.28.1/DateTime/Types.pm line 12. Compilation failed in require at /usr/local/lib/arm-linux-gnueabihf/pe +rl/5.28.1/DateTime/Duration.pm line 12. BEGIN failed--compilation aborted at /usr/local/lib/arm-linux-gnueabih +f/perl/5.28.1/DateTime/Duration.pm line 12. Compilation failed in require at /usr/local/lib/arm-linux-gnueabihf/pe +rl/5.28.1/DateTime.pm line 14. BEGIN failed--compilation aborted at /usr/local/lib/arm-linux-gnueabih +f/perl/5.28.1/DateTime.pm line 14. Compilation failed in require at processcamerathree.pl line 8.
I thought possibly something because corrupt so I tried to reinstall DateTime using cpan.
When I do that I get a lot of the same error as above.
Any suggestions on how to proceed?
Thanks!
Mike
In reply to DateTime throwing an error by nachtmsk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |