Re: $o->document vs $o->document()

2008-10-22 Thread Peter Scott
On Tue, 21 Oct 2008 10:38:27 -0400, Jay Savage wrote: > On Thu, Oct 9, 2008 at 6:04 AM, Peter Scott <[EMAIL PROTECTED]> wrote: >> On Wed, 08 Oct 2008 04:59:19 -0700, John W. Krahn wrote: >>> perldoc perlsub >>> >>> To call subroutines: >>> >>> NAME(LIST);# & is optional with paren

Re: $o->document vs $o->document()

2008-10-21 Thread Jay Savage
On Thu, Oct 9, 2008 at 6:04 AM, Peter Scott <[EMAIL PROTECTED]> wrote: > On Wed, 08 Oct 2008 04:59:19 -0700, John W. Krahn wrote: >> oldyork90 wrote: >>> I am using a module having documentation saying document() is a >>> method. However, I see it used as >>> >>> $o->document; >>> >>> Can you refe

Re: $o->document vs $o->document()

2008-10-09 Thread Peter Scott
On Wed, 08 Oct 2008 04:59:19 -0700, John W. Krahn wrote: > oldyork90 wrote: >> I am using a module having documentation saying document() is a >> method. However, I see it used as >> >> $o->document; >> >> Can you reference a method in this way? (I takes no args). I always >> thought >> >> $o

Re: $o->document vs $o->document()

2008-10-08 Thread Lawrence Statton
> I am using a module having documentation saying document() is a > method. However, I see it used as > > $o->document; > > Can you reference a method in this way? (I takes no args). I always > thought > > $o->document() and $o->document meant different things, function > verses attribute. >

Re: $o->document vs $o->document()

2008-10-08 Thread John W. Krahn
oldyork90 wrote: I am using a module having documentation saying document() is a method. However, I see it used as $o->document; Can you reference a method in this way? (I takes no args). I always thought $o->document() and $o->document meant different things, function verses attribute. p

$o->document vs $o->document()

2008-10-08 Thread oldyork90
I am using a module having documentation saying document() is a method. However, I see it used as $o->document; Can you reference a method in this way? (I takes no args). I always thought $o->document() and $o->document meant different things, function verses attribute. Thank you -- To un