> 
> The part that confuses me is:
> 
> ($who, $rest) = split /:\s*/, $line, 2;
> 
> I understand that it takes the input and splits it into two 
> parts along the regular expression, but I can't figure out 
> what the 2 means.
> 

split the expression into a maximum of 2

perldoc -f split


-- 
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