Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

split file on blank lines and match blocks

by raggmopp (Novice)
on Sep 09, 2012 at 02:43 UTC ( [id://992552]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    define host{
       use                                  HALF
    ...
            address                        10.50.33.26
            hostgroups                   LINUX,GRID,RMAN,CRIT
            }
    
  2. or download this
    #!/usr/local/bin/perl
    use strict;
    ...
          }
    }
    close (MYHOSTS);
    

Log In?
Username:
Password:

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

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

    No recent polls found