* Smylers <Smylers@stripey.com> [2007-10-09 10:25]:
> Well don't have them then -- put the assignment in the use
> statement, which is run at BEGIN time anyway:
>
> use Test::More tests => 1;
> my $CLASS;
> use ok $CLASS = 'DateTime';
Sneaky! I like.
--
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hack;
#Aristotle
Thread Previous
|
Thread Next