Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Mysterious for behavior

by borisz (Canon)
on Apr 21, 2004 at 19:46 UTC ( #347111=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Mysterious for behavior
in thread Mysterious for behavior

I can get the effect I expected by doing this:
for (0+($i=3), 0+($i=2), $i=1) { print "$_ and $i\n"; }
In your example you create
for ( temp, temp2, $i ) {
Boris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://347111]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-12-12 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (327 votes). Check out past polls.

    Notices?