On Fri, 3 Jan 2003 19:08:25 +1100 Ron Savage <[EMAIL PROTECTED]> wrote:

> On Thu, 2 Jan 2003 23:17:10 -0800 (PST), Michael A Chase wrote:
> >Comments interspersed.

> >>my($error) = shift -> text();
> >
> >The parenthesis are not required by my.  They provide a list
> >context which may result in a different result from some
> >subroutines than what you expect.
> 
> I'll try my(@error) later.

If you can't modify your personal convention to accomodate the
function you are calling, I suggest declaring your variables in
separate statements.

  my($error);
  $error = shift -> text();

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to