Thanks for the reply. The code runs fine as a perl script but as perlapp executable it throws the above error.
Useragent.pm and strict.pm contains only the following code ( modified to find the actual problem ):
UserAgent.pm package LWP::UserAgent; 1; =pod =head1 NAME LWP::UserAgent - Uniform Resource Locators =head1 SYNOPSIS $u1 = LWP::UserAgent->new($str, $base); $u2 = $u1->abs; =cut
strict.pm 1;
If we remove the pod lines from UserAgent.pm, the executable works fine. Really wierd seeing this behavior. I have posted in Active State's PDK forum, still need to hear a reply from them. Any clue from the following code where the problem lies?
-KarthikIn reply to Re^2: PerlApp Error - /PerlApp/strict.pm did not return a true value.
by kartlee
in thread PerlApp Error - /PerlApp/strict.pm did not return a true value.
by kartlee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |