in reply to stat question

stat is a function (you can look it up in perlfunc.) or and || are operators, and you can look them up in perlop (hint: it's a matter of precedence.)

~Particle ;Þ

Replies are listed 'Best First'.
Re: Re: stat question
by timbu (Novice) on Apr 25, 2002 at 20:12 UTC

    In the Programming Perl, 3rd. ed, p. 96, stat is listed as a named unary operator, is that a mistake?

      In the Programming Perl, 3rd. ed, p. 96, stat is listed as a named unary operator, is that a mistake?

      No; rather, a named operator is a function. Or at least, Perl builtin functions are operators; either list operators or named unary operators.

      Take a look at the first section of perlfunc.

      The Sidhekin
      print "Just another Perl ${\(trickster and hacker)},"