[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ToggleCaSe



Damn.  Touche... much better.

TJ

On Thu, 2006-05-18 at 00:40 -0400, Jon DeVree wrote:
> On Wed, May 17, 2006 at 11:13:12PM -0400, Dave Torrey wrote:
> > Or, for the Perly-inclined:
> > 
> > % perl -e 'rename $_, lc $_ for (<DSCF*.JPG>)'
> > 
> > Borders on C for clarity :)
> 
> You explicity referenced the implicit variable in a spot that didn't
> require it:
> 
> % perl -e 'rename $_, lc for (<DSCF*.JPG>)'
> 
> Thats better :)
> 
-- 
David O Torrey <tj@xxxxxxx>
Michigan Technological University