On Wed, Apr 25, 2001 at 12:47:59PM -0400, Sean O'Leary wrote:
> split (".", $ARGV[0])
> 
> becomes
> 
> split (/./, $ARGV[0], 5)
> 
> I don't know what the 5 is doing there ( I think it should be a 4, because 
> you are assigning the result of the split to 4 a list of variables, but the 
> compiler knows about many things that I don't.)

Such as, for example, if the limit was 4, the fourth variable would
contain the remainder of the string, rather than the fourth part of the
split.

perldoc -f split    (again)

:-)

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to