chen li schreef:

> my @data=(
>            [1,1,1],
>            [2,2,2],
>            [],
>            [3,3,3],
>            []
>         );
>
> [remove empty element] Can I
> use grep function to do it?

Yes, but you might also be able to not insert them.

-- 
Affijn, Ruud

"Gewoon is een tijger."



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