Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Unexpected behavior of function 'say'

by LanX (Canon)
on Mar 05, 2013 at 15:48 UTC ( #1021855=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Unexpected behavior of function 'say'
in thread Unexpected behavior of function 'say'

So print FH was magic in doing so prior to 5.14?

I hate breakes in symmetry...

BTW: I checked IO::Handle , it's a normal method and features aren't checked.

sub say { @_ or croak 'usage: $io->say(ARGS)'; my $this = shift; local $\ = "\n"; print $this @_; }

Cheers Rolf


Comment on Re^3: Unexpected behavior of function 'say'
Select or Download Code
Re^4: Unexpected behavior of function 'say'
by ikegami (Pope) on Mar 06, 2013 at 04:55 UTC
    The point of the feature is to avoid to break existing function calls. Without feature, the code the OP posted is still the very same method call as it was before 5.10, so everything is working as it should.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021855]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-07-26 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls