Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: mention costs of for(1..100){use ...}

0 views
Skip to first unread message

jid...@hoffa.dreamhost.com

unread,
Jun 4, 2009, 3:31:23 PM6/4/09
to perlfaq...@perl.org, david...@gmail.com
David Nicol <david...@gmail.com> writes:
> you can treat use like a BEGIN block. Put them where they are clear
> to the maintenance personell, they'll only ever run once at
> compilation time, like a BEGIN block.
Ah, so there are costs if in a loop!

Dear FAQ maintainers, I have an idea for a new FAQ:
"So what if I put "use" inside a loop?
See http://mid.gmane.org/87oct4v...@jidanni.org
No I don't know the best answers.

0 new messages