Hi Jun,

On Sat, 19 Jan 2013 22:09:46 -0500
Jun Meng <mengju...@gmail.com> wrote:

> Hi Guys
> 
> I need to extract items that happened once from an array. Here is an example
> 
> @my_array=qw (one, one, two, three, three, four);

This is wrong - qw( ... ) is separated by spaces (« ») - not by commas («,»). I
believe use warnings should have warned you about it.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

E‐mail, web feeds, and doing something productive — choose two.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to