Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Assigning multiple lines into first element of array

by BillKSmith (Prior)
on Feb 29, 2020 at 20:13 UTC ( #11113584=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    (undef, my @chars) = do{local $/="\n>"; <$MY_HANDLE>};
    print Dumper(\@chars);
    
  2. or download this
    $VAR1 = [
              'NM_001198855.1 Homo sapiens cytochrome P450 family 2 subfam
    +ily C memb
    ...
    CAAGTAGCTGGTATTACAGGCACCTGCCACCGCGCCTGGCTAATTTTTTTTTTTTTTTTTTTTTGTATTT
    '
            ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-08-02 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (27 votes). Check out past polls.

    Notices?