Please group reply...

> before chomping the find command did not work as the
> extracted username has a end of line(or somthing I
> donno). I gave a email before this and expecting you
> mail to get me out of trouble.Thank you.
> 
> 
> > chomp($Hme);
> > chomp($user);
> 
> perldoc -f chomp
> 
> If you are going to chomp something it should be $line
> not these two.
> 

Very odd that $user would have had a newline (record separator) on it,
unless it is the last thing on the line, which would be weird as well. 

Normally 'chomp' is only used to remove newlines, and so the only thing
you should have neeeded it on would be $line since it contains the whole
line.

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to