Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^5: perl 5.12 BSD portability (CPAN test result)...print

by chromatic (Archbishop)
on Mar 14, 2013 at 16:12 UTC ( #1023500=note: print w/replies, xml ) Need Help??

in reply to Re^4: perl 5.12 BSD portability (CPAN test result)...print
in thread perl 5.12 BSD portability (CPAN test result)...print

The parser knows about print as a keyword. It's been a special case as far back as I can remember (Perl 1?). You can look at it as an indirect method call from the language level, but the parser doesn't need heuristics because the grammar has a specific rule for the print $filehandle case.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023500]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-07-16 22:26 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (352 votes). Check out past polls.