Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    @_ = ('a' .. 'b');
    print for (@_) x= 2;
    
  2. or download this
    Can't modify array dereference in repeat (x) ...
    Execution of arrX2.pl aborted due to compilation errors.
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    $\ = $/;
    
    print for (@_ = ('a' .. 'b')) x= 2;
    
  4. or download this
    2
    2
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    
    (@_ = ('a' .. 'b')) x= 2;
    print for @_;
    
  6. or download this
    a
    b