[HRPM] Implicit vs. Explicit

Collin Cusce' cusce at home.com
Mon May 28 18:40:47 CDT 2001


I have a question regarding the  implicit nature of perl. Perl allows the developer to get away with a TON of sorry code for the sake of rapid development. What I'm wondering is does the implicit nature of perl make execution slower or faster. For example, is it faster to say "$length = scalar(@myarray);"  rather than to say "$length = @myarray;"? They both do the same thing, only one explicitly observes @myarray in a scalar context and the other is implicit. Is this sort of behavior what makes mod_php ever so slightly faster than mod_perl on SOME benchmarks? Comments?

Also, what is going on with the meeting next week? Who's gunna talk, where do we meet, where was everybody last time, and wtf? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/norfolk-pm/attachments/20010528/e7cd9720/attachment.htm


More information about the Norfolk-pm mailing list