William Paoli <[EMAIL PROTECTED]> wrote:
: What is this doing?
Very little. See below.
: sub data_file {
: open FILE, "colon-delimted.txt";
Always verify I/O operations.
my $file = 'colon-delimted.txt';
open FH, $file or die qq(Cannot open "$file": $!);
: while ( my $line = ) {
What is this doing? am I on the right track? I want to
populate this into a hash after splitting it:
sub data_file{
open FILE, "colon-delimted.txt";
while (my $line = ) {
$line =
($driver,$sponsor,$owner,$chief,$car,$bio,$team) =
split /:/, @_;
}
}
_