Help for this page

Select Code to Download


  1. or download this
    Scalar value @Array[0] better written as $Array[0] at /tmp/t line 17.
    Unquoted string "some" may clash with future reserved word at /tmp/t l
    +ine 17.
    ...
    main::thing() called too early to check prototype at /tmp/t line 2.
    Not enough arguments for values at /tmp/t line 17, near "values]"
    Not enough arguments for values at /tmp/t line 18, near "values]"
    
  2. or download this
      ($REF_array)=@_;
    
  3. or download this
    sub thing() {
        ${$_[0]}[0]=([qw(some values)]);
        ${$_[0]}[1]=([qw(some more values)]);
    }