Think about Loose Coupling | |
PerlMonks |
Re^2: printing @INC contents and Command line interpretationby papidave (Pilgrim) |
on Aug 07, 2007 at 14:15 UTC ( [id://631058]=note: print w/replies, xml ) | Need Help?? |
I tend to favor the join myself for one-liners like that, but I always include an empty item after @INC so the last line will get a newline on it.
The variant that uses "for @INC" avoids that question; perhaps I may need to make a style change. I wonder how they compare for performance, when run in a tight loop?
In Section
Seekers of Perl Wisdom
|
|