Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Perl Riddle

by Prof Vince (Friar)
on Dec 01, 2007 at 10:41 UTC ( #654303=note: print w/ replies, xml ) Need Help??

in reply to Perl Riddle

%ENGINES seems to be empty because the each iterator isn't reset when you call list_engines, causing it to iterate only on the remaining items that weren't yet treated by set_engines' each. You can reset the each iterator by putting scalar keys %ENGINES at the beginning of list_engines.

Comment on Re: Perl Riddle
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-26 23:19 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 (709 votes), past polls