Help for this page

Select Code to Download


  1. or download this
    my $str = 'ab';
    $str x= 2;
    print $str;
    # 'abab'
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    @_ =  ( 'a' .. 'b' ) x 2;
    print for @_;
    
  3. or download this
    a
    b
    a
    b