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

Re^2: Perl5 Language Extension: Definedness-Triggered Shortcut Operators

by afoken (Chancellor)
on Mar 17, 2012 at 13:14 UTC ( [id://960170]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -E '$x=undef; $y=$x // warn "RHS evaluated"; say $y'
    RHS evaluated at -e line 1.
    ...
        /usr/lib64/perl5/site_perl
        /usr/lib64/perl5/vendor_perl
        .
    
  2. or download this
    C:\>perl -E "$x=undef; $y=$x // warn 'RHS evaluated'; say $y"
    RHS evaluated at -e line 1.
    ...
        .
    
    C:\>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found