Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Sane default are important for beginners, and for people who don't exactly want to become experts in a language. This is a LOT of people (for example, various biologists that frequently post on this forum).
Besides the default, at least for strict and warnings, does make sense. In one-liners and in scripts that have five lines
Does such a big and complex language as Perl have a future in 'one-liners and scripts that have five lines'? Why does it have to be optimized for 'one-liners'? What makes it better than Bash in that role? Besides, one-liners work just fine even if you write them as if you had strictures and warnings enabled.
are just an unimportant and ignorable part of the boilerplate
'use strict; use warnings' is probably the most frequent advice ever in the history of Perl. These features are especially good for people who don't yet have good knowledge of Perl. And it is exactly these people that are the future. On the other hand, having to type 'my' in one-liners is no big deal at all.

In reply to Re^4: The future of Perl? by Anonymous Monk
in thread The future of Perl? by BrowserUk

Title:
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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-29 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found