Help for this page

Select Code to Download


  1. or download this
    use warnings;
    @array = qw(X) x 2;
    print @array, "\n";
    
  2. or download this
    Unquoted string "x" may clash with future reserved word at 541178.pl l
    +ine 2.
    Number found where operator expected at 541178.pl line 2, near "x 2"
            (Do you need to predeclare x?)
    syntax error at 541178.pl line 2, near "qw(X) x "
    Execution of 541178.pl aborted due to compilation errors.