Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: HTML::Template-2 on one

by edan (Curate)
on Nov 21, 2004 at 10:39 UTC ( [id://409356]=note: print w/replies, xml ) Need Help??


in reply to Re^2: HTML::Template-2 on one
in thread HTML::Template-2 on one

Your code suffers from the dreaded "Indirect Object Syntax" - something to avoid. In legacy code it can be excused, but not in example code.

--
edan

Replies are listed 'Best First'.
Re^4: HTML::Template-2 on one
by kappa (Chaplain) on Nov 21, 2004 at 10:54 UTC
    Whoa, you are the first to call this beauty a dreaded thing :) Indirect Object Syntax is one of my favourite features of Perl! Why on Earth is it "dreaded"?

      Did you try clicking on that link, and reading the content? Pay special attention to the bold words:

      The -> notation suffers from neither of these disturbing ambiguities, so we recommend you use it exclusively.

      --
      edan

        Of course, I know the limitations of Indirect Object syntax. Maybe I shouldn't use it in sample code for newbies, yes, but WhiteBird is an abbot. And please please don't call the thing "dreaded" because it is not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found