>>>>> "SR" == Stephen Reppucci <[EMAIL PROTECTED]> writes:

  SR> On 11 Sep 2002, Uri Guttman wrote:
  >> for whatever reason i don't do print FOO too much. i have a write_file util
  >> sub i use a lot to write out complete files. and if i have handle
  >> objects they are coming from some stored place and i use the direct
  >> method call
  >> 
  >> $self->{'fh'}->print( $text ) ;

  SR> Directly accessing members of your object??? Ewww...!
  SR> Who invited you into my living room?  ;^)

  SR> I know this is bordering (stomping?) on the pedantic, but wouldn't
  SR> '$self->print($text);' be a clearer way of doing this?

pedantic and wrong. :)

$self is not a handle but contains a handle and other info as well.
that is a line from within a write() method in the Stem::Log::File
class.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to