in reply to $PERL_USE=$PERL_USE:
If you only want some (or even most) of your scripts to use a module without putting it in the code explicitly, you could also write a shell script perldd or whatever you want) that does it automatically, à la :
#!/bin/sh perl -MData::Dumper $1
You could then call that script instead of the "naked" perl interpreter when you need the extra functionality.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|