Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Porting (old) code to something else

by Tux (Canon)
on Feb 16, 2015 at 16:52 UTC ( [id://1116897]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Legal in perl5:
    
    ...
     my $foo = foo (1);           # C
     my $foo = foo      (    1    # D
               );
    
  2. or download this
    my $foo = $object->method (1)
                     ->method (2)
                     ->method (3);
    
  3. or download this
    my $foo = $object.method(1)
                     .method(2)
                     .method(3);
    
  4. or download this
    $ cat t.pl
    use v6;
    ...
            statement end
            statement modifier
            statement modifier loop
    
  5. or download this
    cat t.pl
    use v6;
    ...
     .say;
    $ perl6 t.pl
    C.new(x => -1)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-23 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found