in reply to Re^3: WWW-LEO, why is my code "crashing"
in thread WWW-LEO, why is my code "crashing"

ive used your first example:
Instead of

my @file = <INFO>; foreach my $entry (@file) { ... }; use foreach my $entry (<INFO>) { ... };