[Perl] Comments Requested (4)

Gabor Szabo gabor at perl.org.il
Wed May 7 23:52:12 EEST 2003


Semuel, first of all keep the good work !

I could not read the whole thing so just samled.

2.5 maybe mention that "00" is also true.

2.6
Personally I dislike the use of ++ or -- in other expressions like in
push (@arr, $avar++)
as the prefix/postfix thing can be a bit confusing.


2.8  it 1st of Januar 1970 on UNIX and you are mixing a bit
localtime and time.
See perldoc -f time and perldoc -f localtime

??"? ??????? ????? ???? ????, (???? ?? ?????)

I think it is not true. In general functions behave in different way in
scalar and list context and sometime in a 3rd way when called in void
context.

3.2
  you left in a 'then'
  you should try your examples not only proove them to be correct.
  e.g.:

  unless !($m==3) print “Avukado”;

  is not a valid form.



In general if you start the whole paper teaching
use strict;
which is a good way IMHO.

then I think you should use it and variable declaration in all your 
examples.


regards
   Gabor




More information about the Perl mailing list