use Modern::Perl; use DateTime; use autodie; my $dt; open my $fh, '<', 'data.txt';
I expected this loop to read every line of the file until the first datetime value is read.
Instead, $ _ is unified, and I get a message download of "uninitialized value of $ _ as pattern matching" (and print).
Any ideas why this is happening?
BUT
Richard
source share