[Wellington-pm] goto saves the day!
Grant McLean
grant at mclean.net.nz
Thu Jul 20 19:58:18 PDT 2006
On Fri, 2006-07-21 at 14:01 +1200, Grant McLean wrote:
> if you break it down:
>
> use strict;
>
> is equivalent to:
>
> require strict;
> strict::import();
Of course what I really meant (and what you were all too polite to point
out) was ...
use strict;
is equivalent to:
require strict;
strict->import();
'use' calls import() as a class method not as a function.
Cheers
Grant
More information about the Wellington-pm
mailing list