> What's the problem with my split?
>
> $line = "var    =    value";
> ($var, $value) = split(/\s*[=]\s*/, $line);

Looks fine to me.

> I experienced that $var and $value contained the first letter of the
var and
> the value. Sometimes  nothing. Where is the error?

Looks to me like it must be in your input.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to