Jim Cheetham wrote:
$ perl -e 'print scalar localtime(1088527745)."\n"' Wed Jun 30 04:49:05 2004
python can do one-liners too, if that's your taste:
echo -e "import time\nprint time.ctime(1088527745)" | python -
But don't expect python to do one-liners like:
my @tokens = split /(\\\\(?=\\*[{}])|\\[{}]|[{}\n])/, $self->{SOURCE};or
@P=split//,".URRUUxR";@d=split//,"\nlanruoJ lreP ehT";sub [EMAIL PROTECTED]"r$p","u$p"}=(P,P);pipe"r$p","u$p";$p++;($q*=2)+=$f=!fork;map{$P=$P[$f|6&ord$p{$_}];$p{$_}=/$P/i?$P:close$_}%p}p;p;p;p;p;map$p{$_}=~/[P.]/&&close$_,%p;wait until$?;map/r/&&<$_>,%p;print$d[$q]
Not being able to do those sorts of things is a feature of python, not a bug.
Cheers, Carl.
