SPUG: flip-flops

Colin Meyer cmeyer at helvella.org
Wed Feb 6 18:26:44 CST 2002


On Wed, Feb 06, 2002 at 02:36:45PM -0800, dancerboy wrote:
> At 1:40 pm -0800 2/6/02, dancerboy wrote:
> >    the result of m/$foo/g is completely determined by the current 
> >value of $foo (and whether it's in a list or scalar context),
> 
> err... I meant the current values of $foo and of $_, of course...

Don't forget pos($_), which results from the previous outcome of
m/$foo/g.

Have fun,
-C.

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     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