Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Code Works But Not Sure How

by RichHamilton (Novice)
on Feb 11, 2018 at 12:22 UTC ( #1208948=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $VAR1 = bless( {
                     'menu_items' => [
    ...
                                     ],
                     'number_of_items' => 8
                   }, 'MyClass' );
    
  2. or download this
    package MyClass;
    
    ...
    
    1;
    
  3. or download this
    my @array = ("1","Option 1","2","Option 2","3","Option 3","4","Option 
    +4");
    my $array_size = @array;
    my $obj = MyClass->new($array_size,\@array);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208948]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-07-21 12:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (448 votes). Check out past polls.

    Notices?