Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Unparseability is A Good Thing

by jdrago_999 (Hermit)
on Aug 24, 2009 at 17:55 UTC ( [id://790880]=note: print w/replies, xml ) Need Help??


in reply to Unparseability is A Good Thing

Thanks for putting into words one of Perl's most special traits. A "mutant skill" of Perl.

One of my favorites:

package Foo; # Some kind of just-in-time configuration happens here... sub init { push @INC, '/my/module/dir'; }

Elsewhere...

package Bar; use Foo; BEGIN { Foo->init } use Baz; # Resides under /my/module/dir

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-18 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found