You could put your desired items in a perl module and then use -M command line option to include them. This would be explicit. It sounds like you're looking for something that's implicit?
Example: mystuff.pm
use strict; use Data::Dumper; use Scalar::Util; 1;
test.pl
print Scalar::Util::reftype("foo"); print Dumper("this is some raw text");
invocation:
~/src/perl$ perl -Mmystuff test.pl $VAR1 = 'this is some raw text';
Still looking... Still searching...
In reply to Re: perlrc for perl programs
by osunderdog
in thread perlrc for perl programs
by targetsmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |