Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: I am a beginner for perl

by choroba (Canon)
on Oct 11, 2011 at 12:29 UTC ( #930801=note: print w/ replies, xml ) Need Help??


in reply to Re: I am a beginner for perl
in thread I am a beginner for perl

hashbang line (first line) shouldn't contain a space between the exclamation mark and the slash
Not true. Space is allowed.


Comment on Re^2: I am a beginner for perl
Re^3: I am a beginner for perl
by cavac (Chaplain) on Oct 11, 2011 at 17:12 UTC
    Well, yes, it is allowed. Though i'm pretty sure not all programs parsing hashbangs know that.

    But thanks for clarifying that. I should have written it that way in the first place...
    Don't use '#ff0000':
    use Acme::AutoColor; my $redcolor = RED();
    All colors subject to change without notice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-03-27 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (615 votes), past polls