Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Loading multiple identical variables in array with multiplication variable (Perldoc Keyword Search)

by LanX (Archbishop)
on Sep 24, 2014 at 17:24 UTC ( #1101838=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > pd x
    Matches for x found in :
     /usr/share/perl/5.10/pod/perlop.pod
    
  2. or download this
           ">>> X<x> <<<" in perlop
    
    ...
    
               @ones = (1) x 80;           # a list of 80 1's
               @ones = (5) x @ones;        # set all elements to 5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2019-06-17 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (80 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!