Re: Including externally-defined constants
"A. Pagaltzis" <[email protected]> Fri, 21 Jul 2006 01:18:45 +0200
| Newsgroups | gmane.comp.lang.perl.fun,gmane.comp.lang.perl.modules.authors |
|---|---|
| Message-ID | <20060720231845.GW2885@klangraum> |
* Philippe "BooK" Bruhat <[email protected]> [2006-07-20 08:40]: > Le jeudi 20 juillet 2006 à 02:41, A. Pagaltzis écrivait: > >* Philippe "BooK" Bruhat <[email protected]> [2006-07-19 22:10]: > >> << '=cut'; > >> > >> =pod > >> > >> [...snip...] > >> > >> =cut > > > >Damn, what a cool hack! > > That's exactly what I thought when I first saw it. :-) I just abused it further, check it out: http://www.perlmonks.org/index.pl?node_id=562735 Regards, -- #Aristotle *AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}; &Just->another->Perl->hacker;