Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This really surprised me. I figured that main::Bar would be called and return "Foo". But then I thought that "Foo"->new() would be using "Foo" as a string reference, which isn't generally allowed with strict.
Obviously, there is something deeper here that I do not understand. Could someone please explain why use strict; doesn't complain? Thanks. In reply to Re: Capitalized subroutine names and packages
by coolmichael
|
|