Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Barewords equal zero?

by GrandFather (Saint)
on Feb 11, 2008 at 22:58 UTC ( [id://667472]=note: print w/replies, xml ) Need Help??


in reply to Barewords equal zero?

Fundamental to learning and using Perl effectively is to always use strictures (use strict; use warnings;) as you have now discovered. ;)


Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: Barewords equal zero?
by Cody Pendant (Prior) on Feb 11, 2008 at 23:20 UTC
    You seem not to have read my post.


    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...

      You seem to have updated your post since I read it.

      The fact that the assignment line isn't prefixed with my is a strong hint that you weren't using strictures. What you show people is what they will do. Show them strictures right from the start - even for trivial code like your sample. At the very least assume strictures and stick a my in front of the assignment.


      Perl is environmentally friendly - it saves trees
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-23 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found