Simon Cozens wrpte_
> package four; use subs qw(print); sub print{die@_}; print four things;
> # (Why doesn't that one work properly?)

Answer one: see toke.c (I guess)
Answer two: because print is special. Even without a package, you can't call
a subroutine of yours that you've named print just with "print" ("&print"
works, however; see one of Abigail's sigs, which also plays with
__PACKAGE__).

I think.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.

Reply via email to