Help for this page

Select Code to Download


  1. or download this
    $ perl -e '@a = (1 2 3 4); $y = join ",", @a'
    Number found where operator expected at -e line 1, near "1 2"
    ...
        (Missing operator before  4?)
    syntax error at -e line 1, near "1 2"
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    @a = (qw{1 2 3 4})