Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Babysteps 1: Your First Simple Script

by ruzam (Curate)
on Mar 31, 2008 at 19:02 UTC ( #677612=note: print w/ replies, xml ) Need Help??


in reply to Perl Babysteps 1: Your First Simple Script

My only comment is that you please add the 'use strict;' and 'use warnings;' lines to your hello world script. Even if you gloss over them with a "well talk about those more later" comment.

I started down my Perl path without strict or warnings. When I started to see them in use (and use them myself) it was awkward annoying (all those new warning messages to wade through). It wasn't until later that I finally came to realize those warnings were for my own good and learned to embrace strict/warnings. It would have been easier and more productive to learn that lesson from day one.


Comment on Re: Perl Babysteps 1: Your First Simple Script
Re^2: Perl Babysteps 1: Your First Simple Script
by webfiend (Vicar) on Apr 21, 2008 at 20:25 UTC

    I think it's about time for a significant rewrite of this tutorial. I agree that strict and warnings are important practices, and I am working through how to introduce them without scaring away the people I am writing for. I wrote an updated version on my own site, but it ended up being so long that I needed to split it into multiple pages (Part 1, Part 2). Part of that is because I am incredibly long-winded, but it's also related to the fact that we are describing ways to change the fundamental behavior of Perl to somebody who does not yet understand what that basic behavior is - or why he would want to change it.

    So, yeah. I need to improve this tutorial, but I need to figure out the best way to do that while still being helpful for my original target audience.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-27 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls