Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Command Line Options

by davorg (Chancellor)
on Aug 12, 2004 at 09:08 UTC ( [id://382192]=perlnews: print w/replies, xml ) Need Help??

My article on Perl's command line options has just been published on perl.com.

Hope it's useful.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re: Command Line Options
by naChoZ (Curate) on Aug 12, 2004 at 14:35 UTC

    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

Re: Command Line Options
by pelagic (Priest) on Aug 12, 2004 at 09:14 UTC
    davorg
    I'm getting a "500 Internal Server Error" right now ...
    update
    I was just a little bit too fast ... now it's there!

    pelagic

      I'm getting that occasionally. Seems to be a intermittent problem. Try just hitting "reload".

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg

      It's quite common with ORA. Often an author will tell people their article has just gone up and all you get from ORA for a few hours is 500 Errors. Sometime it's like that for a whole weekend, sometime it's just the printable version of the story. Strange...


      --
      ajt

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://382192]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (None)
    As of 2024-04-25 01:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found