|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Use modules with an import list on the command lineby Ovid (Cardinal) |
| on Jan 12, 2002 at 03:14 UTC ( #138176=perltutorial: print w/ replies, xml ) | Need Help?? |
|
Short and to the point. This is probably too simple to deserve the title of "Tutorial", but this is where this is where some Monks look. I've noticed that occassionally people try to use the command line, but don't quite "get" how to use modules and the import list. It's fairly simple. Use the -M command line switch, followed by the module name. For example, the following are equivalent:
Some modules either require an import list be specified or are easier to use with an import list. In this case, use the -M switch followed by an '=', with import items separated by commas.
There, that wasn't too painful, was it?
Back to
Tutorials
|
|
||||||||||||||||||||||||