[Edinburgh-pm] A little perl help please

asmith9983@gmail.com asmith9983 at gmail.com
Sat Feb 18 02:42:48 PST 2006


Hi guys

I want this little perl one-liner to run without assigning the return of gmtime 
to an array.  Is this possible  ?
Soomething like this but as this doesn't work,not this
perl -e -w 'use strict "vars";print "Today is Friday" if (gmtime[6] == 5);'

I was hoping to keep the code short.

Thanks.

-- 
Andrew


More information about the Edinburgh-pm mailing list