Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

What's my password?
Create A New User
[choroba]: But the Church Fathers say Matthew was originally in Aramaic
[Discipulus]: no erix, was ironic, I could have said Hartz4
[Discipulus]: for sure they had to be in armaic, many reverse-eng errors where spot
[Discipulus]: do you know the google like translation: a rich.. as a camel through the needle hole?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2017-11-23 20:38 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (338 votes). Check out past polls.