in reply to Perl: Regular Expression
my $line =~ / /
as a loop condition, but it's never true: you create a new variable, so it's empty, so it can't match a space. Instead, do something like
open my $FILE, '<', $myfile or die $!; while (my $line = <$FILE>) { # Read a line f +rom the file. my ($project, $value1, $value2) = split ' ', $line;
|
|---|