in reply to Re: Where in a package should 'use' be called?
in thread Where in a package should 'use' be called?
Thanks u65... a few years ago, I toyed with Perl6 because moritz's at-the-time PM sig tested my patience (you can see my very basic p6 'testing' here). After getting set up, I appreciated quite a few things (and was upset due to others) but I especially liked calling a method on a literal, eg: say 25.WHAT :). Up until now, I did not know that use was kept within lexical (ie. block) scope and not compile-time in P6. Is this true?
For now, I'm looking specifically for Perl5 best practice.
|
|---|