in reply to perlrc for perl programs
On most Unix-alikes under Bourne or bash:
#!/bin/sh /usr/local/bin/perl -MMyIncludes $@
On Windows using Strawberry under cmd :
@"\strawberry\perl\bin\perl" -MMyIncludes %*
These of course assume fairly standard installation paths. You'll need to change those to match your system. You'd have a new way to call perl, but that way would implicitly include any module or modules you like. The remainder of any command-line arguments are passed on to perl itself in both cases.
|
|---|