Re: [PBML] if(scalar @sf < 2)
- On Mar 23, Yuji Leon said:
> may i know what is this means?Well, the 'scalar' isn't necessary here, because using an array where a
> if(scalar @sf < 2)
scalar is expected causes the array to return its size (the number of
elements it holds). This is saying "if the number of elements in @sf is
less than 2...".
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
http://japhy.perlmonk.org/ % have long ago been overpaid?
http://www.perlmonks.org/ % -- Meister Eckhart