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

Re: ToggleCaSe



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

-- 
Jon
X(7x): A program for managing terminals. See also screen(1).
To the NSA: Why haven't you looked at my job application yet?

Attachment: signature.asc
Description: Digital signature