in reply to Re: Sort options
in thread Sort options

Great! thanks. But what if I get my list from a file? How do I use the 'qw' function? I tried operating it on an array but it doesnt work...
my @split_list = qw{@list};
Is this correct?

Replies are listed 'Best First'.
Re^3: Sort options
by jethro (Monsignor) on Aug 03, 2008 at 16:00 UTC
    Did you first look for qw{} in the documentation/perl book/man pages before asking here?

    qw is a way to specify literal lists. @a= qw{ a b c } is equivalent to  @a= ('a','b','c');. If you already have an array, you don't need qw.