View Full Version : Including perl in perl
gyrbo
July 16th, 2001, 11:39
O know this has allready been asked, but none of those scripts work. I need to include the *result* of a perl script into a perl script. It's a banner code. can anybody help me out?
akersche
July 16th, 2001, 13:45
what about writing it to a simple text file?
gyrbo
July 16th, 2001, 15:33
And how would that be done? I didn't wrote the banner script myself, nor do I have acces to modify it. Thanks for any help.
Dusty
July 16th, 2001, 16:23
...nor do I have acces to modify itSo it's remotely hosted? Could you just do something like:
use LWP::Simple;
$banner=get "http://url/to/banner.pl";
# Your script goes here
# Once you're ready to include the banner use:
print $banner;
gyrbo
July 17th, 2001, 04:07
OK thanks, but I think I don't need it anymore, I send a message to the host, I hope he's willing to change the script.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.