SPUG: Should I not do while (<FOO> !~ /^mailboxes/) { } ?

Dean Hudson dean at ero.com
Fri Feb 22 17:07:16 CST 2002


On Fri, Feb 22, 2002 at 03:01:11PM -0800, Chris Wilkes wrote:

> I'm a little leary about using grep like this as it sucks in all of
> <FOO> into a big array and then goes over it.  But I know this file
> is only going to be a couple dozen lines so I'm fine.

Know your enemy. Then type as little as possible but no less, lest the
forward compatibility police find you and hit you in the head with a
melon.

dean.

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org





More information about the spug-list mailing list