Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: prepend string to entire array

by gmax (Abbot)
on Sep 10, 2003 at 09:50 UTC ( [id://290354]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @result = map scalar reverse, 
        glob("{1,2,3,4,5,6,7}{A,B,C,D,E,F,G}");  # CheeseLord
    ...
    
    @result=map$_.$array1[0]..$_.$array1[$#array1],@array;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    push @results,  join( "", @$_) for @$recs;
    
    print "@results\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-24 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found