[tpm] adding an INIT block via the command line

Fulko Hew fulko.hew at gmail.com
Fri Oct 24 10:07:55 PDT 2014


A hopefully quick question...

I have a bunch of programs, and I'd like to do a test on where I execute
each
program, but before it actually 'does stuff', but after its done all of its
'use' statements, it runs my 2 lines of code.

Sort of doing a:
perl -e INIT { code } filename

but a -e prevents the running of filename!

I want to do both.

Suggestions anyone ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20141024/1832559b/attachment.html>


More information about the toronto-pm mailing list