Help for this page

Select Code to Download


  1. or download this
    while (<INPUT>) {
        my ( $msg ) = ( /msg=(.*?) Src \d+ / );
        # do something with $msg...
    }
    
  2. or download this
    while (<INPUT>) {
        next unless ( s/^([\d-]+)\s+([\d:]+)\s+(\S+)\s+// );
    ...
    
        # do stuff with %flds and other vars...
    }