Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re (tilly) 1: When to use Prototypes?

by Masem (Monsignor)
on Nov 09, 2001 at 19:13 UTC ( #124378=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # PERL 6!!!!
    @array1 = ( 1..5 );
    ...
      # @a is [ 1,2,3,4,5]
      # @b is [ 6,7,8,9,10 ]  
    }
    
  2. or download this
    # PERL 5
    @array1 = ( 1..5 );
    ...
       # @a is [1..10]
       # @b is empty.
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-03-31 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (74 votes). Check out past polls.

    Notices?