Greetings,
I am a little confused why the print statement
print "$file\n";
works fine and prints test.html
but
print statement
print "$title[1]\n";
does not print second element of $title
Thanks
-------------------------
my $file ="test.html";
my @title = split (".", $file);
print "$file\n";
print "$title[1]\n";