NT v. unix (was Re: LPM: Happy ...)

Steve Lane sml at zfx.com
Mon Jan 3 10:51:53 CST 2000


David Hempy wrote:
> Also, the final, working version I have for NT doesn't work on unix:
> 
> >cooper 3$ perl -e "@time = localtime; print $time[5], \"\n\"; "

don't forget about the friendly -l switch.  it does many
things, but in its most basic version, it adds a newline
after every print:

$ perl -le '@time = localtime; print $time[5]'

saves some pesky backslashes and other typing.
--
Steve Lane <sml at zfx.com>



More information about the Lexington-pm mailing list