in reply to Re: Code behaves differently in script and on command line
in thread Code behaves differently in script and on command line

Hmm.. so you are saying that perl was trying to run a function called rmap, returned in an object from a call to print ?

EDIT: Nevermind really, I see that you are correct and I understand that this is tricky business for the interpreter since I want to use a raw code block like that ...
  • Comment on Re^2: Code behaves differently in script and on command line

Replies are listed 'Best First'.
Re^3: Code behaves differently in script and on command line
by ikegami (Patriarch) on Jun 26, 2009 at 14:50 UTC
    It was executing method rmap of the object it expected print to return. method object @args is called the indirect method call notation.