Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

How to sub class-es

by exilepanda (Friar)
on May 15, 2020 at 02:54 UTC ( [id://11116797]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    package Robo::Arm;
    ...
     my $robo = new Robo;
     $robo -> pick ( "Apple" ) ;
     $robo -> walk ;
    
  2. or download this
    package Robo::Arm;
    sub new { bless {  } , shift } 
    ...
     $robo -> walk ;
     $robo -> pick ( "Apple" ) ;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11116797]
Approved by haukex
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found