Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
In this apocalypse, I read:
In real life, tokens are more recognizable if they are separated by whitespace.

The culture is biased in the wrong direction. Whitespace around tokens should be the norm, not the exception. It should be acceptable to use whitespace to separate tokens that could be confused.

and then I remembered than in the previous apocalypse, Larry decided to make Perl whitespace sensitive and disallowed using whitespace between an aggragate and its index. %hash {key} doesn't index the hash in perl6.

Not even Python has such idiotic whitespace rules.

I've been programming for 20 years. I cannot recall ever using a language that disallowed whitespace between an aggragate and its index. I've been programming Perl for a mere 7 years, less than half of my programming life. I ain't going to break a good habit of twenty years.

But then, perl6 is still vaporware and its progress is slow. I'll keep using perl5 and if its development ceases, I'll learn a new language.


In reply to Re: Apocalypse 5 and regexes by Abigail-II
in thread Apocalypse 5 and regexes by c-era

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 imbibing at the Monastery: (4)
As of 2022-05-27 00:24 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (94 votes). Check out past polls.