qw in perl

by Geethalakshmi 2010-09-17 14:11:39

qw in perl


Used to set values in array or hash variable without using quotes.

@x = qw(value1 value2 value3);

%x = qw(
key1 value1
key2 value2
key3 value3
);

Tagged in:

1350
like
0
dislike
0
mail
flag

You must LOGIN to add comments