libwww and the perl compiler?
David L. Sifry (david@sifry.com)
Sun, 02 Mar 1997 22:38:04 -0800
Has anyone gotten the perl compiler to compile code that uses libwww
objects? I've been hacking around with it, and can successfully compile
my sample code, but it crashes when I run the compiled code.
When the code reaches:
my $url = URI::URL->new($args);
in the perl version, everything works fine, and we get a new URL
object. However, when I run the compiled code, it chokes when it gets
to this line with the message:
Can't locate object method "new" via package "URI::URL" at test.pl line
153, <NS> chunk 1.
I've tried compiling the code with the -uURI::URL option, but it made no
difference. I'd be grateful for any help or suggestions.
Dave
--
Dave Sifry http://www.sifry.com
President, Sifry Consulting (408) 471-0667 (voice)
david@sifry.com (408) 471-0666 (fax)