Talk:Tutorials Export Text Messages Using Perl

From WebOS Internals
Jump to: navigation, search

Hi, I've tried this right now, I got the id, but then the second script aborted on line 4 because of "C:\Documents and Settings\Josef Barta\Desktop>perl 12094627905540 Lvicek Hvezdicka Can't locate in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .)

at line 4.

BEGIN failed--compilation aborted at line 4."

can you help me somehow? In the script I've changed just the time zone to Europe/Paris... I need that quite urgently (till tomorrow if possible...)

Thank you very much for help, I've been looking for ages for such thing...:-)

It's probably too late for you, but maybe someone else has the same problem: you need to have the datetime module installed (package libdatetime-perl in ubuntu).


thank you for sharing the two scripts, they are very helpful. To make the date strings prettier (especially to pad minutes and seconds with zeros), I would suggest to change the last line in the loop to <source lang="perl"> print $dt->ymd.' '.$dt->hms.' '.$tofrom.$x->[1]; </source>