These two bits of Perl print different things.
print localtime(0);
I'm sure if I were smart enough to use Perl I'd know all about how the
two statements were in different contexts and how it's wonderful that
Perl evaluates things in a context-dependent way because I can do so
many cool things with it.
-> 001631116933640 $now = localtime(0); print $now; -> Wed Dec 31 16:00:00 1969 I don't want to be that smart to write simple scripts. I started learning Python a month or two ago and I'm a much happier person. |