Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-10-01 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.