Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Regex to extract certain lines only from command output/text file.

by Anonymous Monk
on Mar 08, 2013 at 00:55 UTC ( #1022322=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    7 hostname12 Generic-legacy 10000000AB210ACF6 ---
                                 10000000AB210ACF4 2:5:4
    ...
                                 10000000AB2A30068 2:5:2
    21 HOSTNAME   Generic
    
  2. or download this
    9 hostname13 Generic        10000000AB2A3006A 3:5:2
                                 10000000AB2A30068 2:5:2
    
  3. or download this
    9 hostname13 Generic        10000000AB2A3006A 3:5:2
                                 5001438002A3004A ---
    ...
                                 5001438002A30048 2:5:2
    9 hostname13 Generic        10000000AB2A3006A 3:5:2
                                 10000000AB2A30068 2:5:2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022322]
help
Chatterbox?
[james28909]: id just rename the subrouties perl what kind of data they are getting. something easy to remember too. like if get_data were returning movies titles, rename get_data to movies or movie_titles or get_movie_titles.
[james28909]: s/perl/per/
[james28909]: but i dont really know what your end goal is. if it works dont fix it lol

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-05-24 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?