my ($id, $name, $major, $email) = split(',',$line);The later code didn't have special variables nor any Regex
The first argument to split, although represented above as the string ',', is actually the regex /,/.
And your code also has the added advantage of slurping the entire file into memory.
In reply to Re^6: Help Me!
by jwkrahn
in thread Help Me!
by ajbrewe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |