RE: Spam:Re: Error: Scalar found where operator expected

2004-11-30 Thread Jenda Krynicky
From: "Michael Kraus" <[EMAIL PROTECTED]> > G'day... > > > This is not related to strict. You always have to use () when > > calling methods. > > Really? /Always/ or only when passing arguments to the method? Oops. You are right, only when passing arguments. I sit corrected ;-) And actually

RE: Spam:Re: Error: Scalar found where operator expected

2004-11-29 Thread Michael Kraus
G'day... > This is not related to strict. You always have to use () when > calling methods. Really? /Always/ or only when passing arguments to the method? I've got a method that returns a reference to an object, I often call it without using parentheses. Let me show you what I mean... --- In

Re: Error: Scalar found where operator expected

2004-11-29 Thread Jenda Krynicky
From: Jonathan Paton <[EMAIL PROTECTED]> > Easy. > > When using strict you must use brackets around subroutine and method > calls... I.E. > > $object->METHOD(args...) > > You need: > > my $message=$pop3->RETR($msg_id); > > Jonathan Paton This is not related to strict. You always have to use (

Re: Error: Scalar found where operator expected

2004-11-29 Thread Jonathan Paton
Easy. When using strict you must use brackets around subroutine and method calls... I.E. $object->METHOD(args...) You need: my $message=$pop3->RETR($msg_id); Jonathan Paton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Error: Scalar found where operator expected

2004-11-29 Thread Randy W. Sims
vishwas bhakit wrote: hello, I had used following line in my code to retrieve message where $msg_id shows id of message retrieved by LIST command. code: my $message=$pop3->RETR $msg_id; # Line No. 30 it is showing me following error Error: Scalar found where operator expected

Error: Scalar found where operator expected

2004-11-29 Thread vishwas bhakit
hello, I had used following line in my code to retrieve message where $msg_id shows id of message retrieved by LIST command. code: my $message=$pop3->RETR $msg_id; # Line No. 30 it is showing me following error Error: Scalar found where operator expected at try.pl line 30, n