Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

...nor should it be turned off by default.

I, for one, am glad -w and use strict, or the functionality at least, will be default in perl 6. It's such a spinal macro typing the perl shebang including -w, two enters and "use strict ;" I sometimes forget to really stress the importance to newcomers to perl that I'm mentoring.

Building on that note, I recently took another inductee under my wing - last night in fact. He had a strong desire to learn Perl but knew he really needed a project to use it on. One of his friends suggested he make his web site a little more dynamic and use PHP to ease him into Perl. PHP! That's like telling someone to use ol' MS-DOS so they'd be ready for Unix! So I gave him some space on my server with HTML::Mason. =)

The upshot of the above is now he's got a fun project to work on, it's getting him comfortable with Perl at his own pace, and HTML::Mason defaults to use strict with warnings on! Hahaha, I almost feel naughty about it =)


In reply to Re: 'use strict' is not Perl by ducky
in thread 'use strict' is not Perl by Ovid

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-05-27 21:14 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (97 votes). Check out past polls.