in reply to Finding dependancies of a script
By calling it "oduleCheck" I can run it from the command line like this if I want to actually run the script:package oduleCheck; CHECK { print "Modules required at compile time for $0:\n"; print " $_\n" for values %INC; } 1;
Or, if I want to just check the modules or I am checking a module I can run it from the command line like this:perl -ModuleCheck test.pl
perl -ModuleCheck -c File/Spec.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Finding dependancies of a script
by sauoq (Abbot) on Jul 25, 2003 at 21:38 UTC |