Hello there,
Once again I'm at it with some perl stuff

. I have a simple question I think (which I can't figure...argh) is easy. I have a file called crap.txt that consists of:
lisa
bart
homer
My script is:
----------------------------------------------
#!/usr/bin/perl
$file="/home/crap.txt";
open (FILE, $file) || die "Cannot open file $file: $!\n";
@array=<FILE>;
print "Contents of $file is: \n@array\n";
----------------------------------------------
However, it prints like so:
lisa
bart
homer
As you can see, there is an extra space for bart and homer but not for lisa. How do I eliminate this space and why does this occur? Thanks!
-twantrd