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

Re: Re: Cropping the output of the pattern matcher

by jerrygarciuh (Curate)
on Sep 24, 2001 at 00:29 UTC ( [id://114211] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w 
    
    use strict;
    ...
    my @bits_and_pieces = split /></, $line;
    
    print @bits_and_pieces;