Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Recap: The Future of Perl 5

by tobyink (Canon)
on Aug 24, 2018 at 10:24 UTC ( [id://1221004]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v5.20;
    use experimental 'signatures';
    ...
            ref($self)->new($self->y, $self->x);
        }
    }
    
  2. or download this
    my Foo $foo = Foo->new(...);
    
  3. or download this
    sub foo (Int $bar, Str $baz) {
       ...;
    }
    
  4. or download this
    sub foo {
       my Int $bar = $_[0];
    ...
       die "..." if @_ > 2;
       ...;
    }
    
  5. or download this
    my Foo $x = $y;
    
  6. or download this
    "Foo"->CHECK_SCALAR(\$newvalue);
    Foo()->CHECK_SCALAR(\$newvalue);
    
  7. or download this
    sub UNIVERSAL::CHECK_SCALAR (Str $class, ScalarRef $sref) {
       require Scalar::Util;
    ...
          Carp::croak("...");
       }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-03-28 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found