Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Remove text after and before

by Neighbour (Friar)
on May 22, 2012 at 09:47 UTC ( [id://971751]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @raw_data = `ip link`;
    my @NIC = grep { /^\d+:\ /; } @raw_data;
    ...
        s/^[0-9]+:\ ([a-z]+[0-9]*):\ .*$/$1/;
    }
    Data::Dump::dd(@NIC);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-16 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found