>>>>> "RD" == Rob Dixon <rob.di...@gmx.com> writes:

  RD> I'm not sure what you mean here Shawn. Errors are generated at run time
  RD> in both cases, so code like

  RD>   if (0) {
  RD>     Foo::bar();
  RD>   }
  RD>   if (0) {
  Foo-> bar();
  RD>   }

  RD> will generate no errors at all. In particular the method call cannot
  RD> generate a compile-time error as Perl supports dynamic binding in order
  RD> to implement object-orientation.

what he said. there is no compile time error in shawn's code.

uri

-- 
Uri Guttman  --  uri AT perlhunter DOT com  ---  http://www.perlhunter.com --
------------  Perl Developer Recruiting and Placement Services  -------------
-----  Perl Code Review, Architecture, Development, Training, Support -------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to