Help for this page
open(IN, "/some/file") || die "Cant open /some/file: $!\n"; while (<IN>) { ... open(IN, "/some/file") || die "Cant access /some/file: $!\n"; @foo = grep(m/^$match/, <IN>); close(IN);
$f = 'foo:bar:baz'; ($blah) = split(/:/, $f);