Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Assigning multiple lines into first element of array

by AnomalousMonk (Bishop)
on Mar 01, 2020 at 06:26 UTC ( #11113597=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my @ra = ('MANYCHARACTERS');
     printf qq{1st element of array has %d characters \n}, length $ra[0];
    "
    1st element of array has 14 characters
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2020-10-24 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (245 votes). Check out past polls.

    Notices?