Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Missing $ on loop variable

by robin (Chaplain)
on Dec 02, 2005 at 23:38 UTC ( #513756=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Missing $ on loop variable
in thread Missing $ on loop variable

That's an interesting idea. Perhaps that's it after all.

I might be mis-remembering: perhaps it was the @ on the array that was optional? I'm pretty sure it was one of them, but it's been a long time since I've had Perl 4 on my computer.Update It is neither. I must have been thinking of what japhy says.


Comment on Re^3: Missing $ on loop variable
Download Code
Replies are listed 'Best First'.
Re^4: Missing $ on loop variable
by japhy (Canon) on Dec 03, 2005 at 04:37 UTC
    The @ and % are optional for a lot of functions: push, pop, shift, unshift, splice, keys, values, each.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-07-08 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls