On Dec 4, 2:47 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > my ($n,$d) = split /\./, shift, 2; > > which specifies the field count in two ways: the third parameter says > that the string should be split into (a maximum of) two parts. and even > if that wasn't there the two scalars in the list on the left hand side > would force an implicit split into three parts.
And I'd completely forgotten that bit. (Which IMNSHO is a wart). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/