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

Re: Only using scalers and references

by Hue-Bond (Priest)
on Sep 25, 2008 at 06:26 UTC ( #713571=note: print w/ replies, xml ) Need Help??

in reply to Only using scalers and references

is it ok to program exclusively like this?

While I'm comfortable using @array and $array[$index], I've also thought about what you say and realized that it seems more homogeneous to me. The only caveats I've found are the functions that work exclusively with arrays or hashes (push, pop, shift, unshift, splice, delete, each, exists, keys, values and maybe some more) and the use of slices, which makes the syntax a bit obscure.

That aside, I find it very natural to work like that.

David Serrano

Comment on Re: Only using scalers and references
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2015-11-30 18:37 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls