Help for this page

Select Code to Download


  1. or download this
      my @vals = ( 'cat', 'dog', 'mouse' );
    
  2. or download this
      push( @vals, 'tiger' );
      print( join(',',@vals ) );
    
  3. or download this
      print( pop( @vals ) );
    
  4. or download this
      print( shift( @vals ) );
    
  5. or download this
      print( join(',',@vals ) );