fork download
  1. my $firstLine = '||03/15/2012||10:17:11|FOR TEST';
  2. print $1 if $firstLine =~ /(\d{2}\/\d{2}\/\d{4})/;
  3.  
Success #stdin #stdout 0s 4596KB
stdin
Standard input is empty
stdout
03/15/2012