develooper Front page | perl.perl6.language | Postings from March 2002

Re: Topicalizers: Why does when's EXPR pay attention to topicalizer r egardless of associated variable?

Thread Previous | Thread Next
From:
Eric Roode
Date:
March 27, 2002 08:28
Subject:
Re: Topicalizers: Why does when's EXPR pay attention to topicalizer r egardless of associated variable?
Message ID:
15521.62124.207849.605152@lem
Larry Wall writes:
 > I think if we have to go through contortions to get at the outer topic
 > by name, it's better to just name the variable on the outer loop in the
 > first place.  Adding -> $varname to the outer loop is safe, because it
 > doesn't change the semantics of topicality--now that we changed the
 > rule so that $_ is always aliased to the topic regardless of whether
 > it's aliased to an explicit variable name.
 > 
 > Larry

This seems to argue against OUTER::

----------------------------------------------------------------------
Eric J. Roode                                            eric@myxa.com
Senior Software Engineer, Myxa Corporation

@_=unpack "C*",qq;\cw22(D\coF?!%\$&D\x1e=B\cyB'\cu"\cy=B\; $>=0; ;$=-=$=;
push (@^A,$_[$=++]+$_),$^A[$=-1]=~s+\d[^&0.=^&1].+$&-ord e+e
foreach map{unpack 'C'x8,$_}(\getpwuid $>)[0,2,5];
print pack('C*',@^A),"\n";

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About