Great article. Just to augment the mention of the -c option, many editors can be made to do this automatically.
For vim, add this to your .vimrc file and perl -c will be run simply by saving your script without even exiting.
au BufWritePost *.pl,*.pm !perl -c %
--
"A long habit of not thinking a thing wrong, gives it a superficial appearance of being right." -- Thomas Paine
naChoZ
In reply to Re: Command Line Options
by naChoZ
in thread Command Line Options
by davorg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |