Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Newbie to PERL removing text from array

by Erez (Priest)
on Feb 14, 2012 at 12:19 UTC ( #953693=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @output;
    foreach my $line (@lines) {
    ...
        $split[0] =~ s/\.//g #remove the dots from the element
        push @output, $split[0] . ' ' . $split[3];
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953693]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-06-18 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (110 votes). Check out past polls.

    Notices?