The "what" you are looking for is the mystical map{eval(readline!open(!((*{!$_},$/)=\$_)))} operator. Example (given $variable1 = "SOME CALCULATION"; in Library.pl):
(based on theDamian evilness, improved by ysth)$ perl -w my $variable1; map{eval(readline!open(!((*{!$_},$/)=\$_)))} "Library.pl"; print "$variable1\n"; __END__ SOME CALCULATION
In reply to Re: use, require, do or what?
by ysth
in thread use, require, do or what?
by AKSHUN
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |