Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: $# -variable?

by GrandFather (Saint)
on Jul 27, 2006 at 19:36 UTC ( [id://564210]=note: print w/replies, xml ) Need Help??


in reply to Re^3: $# -variable?
in thread $# -variable?

I would hope these days that $[ is virtually never used. I can imagine a few places where it may be tempting to use, but none where there are not much better techniques available.

$['s biggest problem is the surprise factor. Non-zero based arrays are not the norm in Perl and using them is likely to make the code obscure and hard to maintain and its bigest weakness is that it provides nothing that cant be done better differently.


DWIM is Perl's answer to Gödel

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found