[Thamesvalley-pm] using third party perl scripts
charlie at peopleandplanet.org
Tue Oct 16 06:49:29 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Greg Matthews wrote:
> This question will probably show my naivity... I have a perl script that
> I want to make use of in my own perl scripts. I dont want to have to
> mangle the original script as I will loose the ability to easily
> incorporate updated versions. How can I call the first script from my
> own? Do I have to resort to a system()
Sounds like you need to use do or eval.
Uses the value of EXPR as a filename and executes the contents of the
file as a Perl script.
is just like
eval `cat stat.pl`
People & Planet
Printing causes pollution and wastes energy and paper.
Please consider not printing this email. Thanks.
Shared Planet 2007 | 16 - 18 November | Sheffield University
The UK's biggest student campaigning event. Designed to inform and
inspire you to take action on poverty, human rights and the environment.
Tickets cost just £16 before 26 October. Book now
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Thamesvalley-pm