Hacker News new | ask | show | jobs
by james2vegas 4357 days ago
perhaps that line was written by someone used to Perl, where they would have had

@a_list_of_words = qw/my list of words/;

there

2 comments

Or rubyst:

  a_list_of_words = %w{my list of words}
You'd be sure if they wrote:

    >>> qw = str.split
    >>> qw('my list of words')
    ['my', 'list', 'of', 'words']