You don't have to escape the colon in a regular expression.
Oh, cool. Didn't know that.
> my $home = $split_line[5]; > my @split_home = split(/\/, $home); ^^^ Syntax error. The terminating delimiter is missing.
I am confused. What do you mean, the terminating delimter is missing? It seems alright to me...
"scalar(@split_home) - 1" could also be written as "$#split_home" or just "-1".
I did not know that ``-1'' would work. However, I prefer scalar() to $#. There is More than One Way to Do It! :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/