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

Re^4: Flip-flop won't DWIM

by Roy Johnson (Monsignor)
on May 26, 2009 at 16:22 UTC ( #766251=note: print w/replies, xml ) Need Help??


in reply to Re^3: Flip-flop won't DWIM
in thread Flip-flop won't DWIM

An opportunity for the seldom-used reset function to come into play:
perl -le"for (1..2) { print for grep scalar(??../D/), ('A'..'F'); rese +t}"

Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://766251]
help
Chatterbox?
[ikegami]: That should be ${ $hash{$key} }[$_] because it's $a[$_] when you don't use a ref.
[oiskuu]: James, that's an array slice you have there (over some hash value)
[ikegami]: Mini-Tutorial: Dereferencing Syntax

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-04-27 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.