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 browsing the Monastery: (3)
As of 2016-02-05 22:50 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (208 votes), past polls