in reply to select elements in a list

Well, here's a 10-second version:
#!/usr/bin/perl use strict; use warnings; use diagnostics; my $file = shift; open (F,"<$file") or die "Can't open $file: $!"; while (<F>) { $_ !~ /;\s+;/ and print $_; }