http://www.perlmonks.org?node_id=1044586


in reply to Create a list from an Arrray

The expression qw(@hash_tags) does not interpolate an array variable, it merely returns the literal string '@hash_tags'. I think you want:

@USERlist = @hash_tags; ... @STATIClist = @tags;

and the code should work as expected.

Update: See Quote and Quote like Operators.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,