in reply to Re: No error from typo [was: Perl doesn't give error when module is not found]
in thread Perl doesn't give error when module is not found

I don't think

print( Dumperrrrrrrrrr $myvar );

helps anyone to understand what's actually going on. While the situation is more complicated in case of print, the print Dumperrrrrrrrrr $myvar; is at least syntactically the Indirect Object Syntax. If the filehandle does exist, you can think of that statement as "calling the print() method of the Dumperrrrrrr object with the parameter $myvar".

Jenda
1984 was supposed to be a warning,
not a manual!

Replies are listed 'Best First'.
Re^3: No error from typo [was: Perl doesn't give error when module is not found]
by ikegami (Patriarch) on Mar 27, 2024 at 23:59 UTC

    I don't think print( Dumperrrrrrrrrr $myvar ); helps anyone to understand what's actually going on.

    That's why I didn't write (just) print( Dumperrrrrrrrrr $myvar );.

    And no, it's not actually an indirect method call. Or any kind of method call. It's a function (i.e. a named operator) with a funky syntax.