Hi Jun,
On Sat, 19 Jan 2013 22:09:46 -0500
Jun Meng <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/