Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Cefu's scratchpad

by Cefu (Beadle)
on Nov 13, 2007 at 16:37 UTC ( #650528=scratchpad: print w/replies, xml ) Need Help??

A one liner to read which values I expect from my config file.

$expectedNodes{/(\S+)/?$1:''}++ for <CONFIG>;

These can later be checked with:

exists $expectedNodes{$qustionableValue}
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-09-19 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (226 votes). Check out past polls.

    Notices?