Help for this page

Select Code to Download


  1. or download this
    unless($file =~ /^(\d{4})-\d{9}-([^\.]+)/){
        log_data("$file does not conform to file naming standards");
        next;
    }
    $lower_format = lc("$1$2");
    
  2. or download this
    eval "\$current_format = \$fmt_$format";
    @line = unpack($current_format, $data);