Why no year 0 in DateTime? I was surprised to see the following in the synopsis:
$year = $dt->year; # there is no year 0
The ISO8601 range is [0000,9999], thus including year 0. The
standard even explicitly mentions that year 0 was a leap year.
Peter
--
#!/local/bin/perl5 -wp -*- mode: cperl; coding: iso-8859-1; -*-
# matlab comment stripper (strips comments from Matlab m-files)
s/^((?:(?:[])}\w.]'+|[^'%])+|'[^'\n]*(?:''[^'\n]*)*')*).*/$1/x;
