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

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://953693]
[Corion]: Heh. Highly confusing. I use /qr in my web app as an entry point to generate QR code images. So in my code I now have '/qr/:name/:key' - "But why would I single-quote a malformed regular expression?!" ;-)
[Corion]: Also, I need to decide on whether to do the user management in SQLite or do it in a JSON structure instead...
[Happy-the-monk]: NodeReaper: that would have to go uphill.
[Happy-the-monk]: LanX&Corion: renting a car might be an option... ~150 but we need to travel early on Tuesday.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-03-19 12:41 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.