Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Pre-process csv files before using

by davidrw (Prior)
on Aug 06, 2005 at 19:26 UTC ( [id://481540] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @cols = ...;
    shift @cols;  # blindy throw away first column
    @cols = grep( $_ !~ /(Bandwidth|MSTCPLoopback)$/ , @cols);  # exclude 
    +ones ending with "Bandwidth" or "MSTCPLoopback"