Help for this page

Select Code to Download


  1. or download this
            @numberMutation = split(/\C/,$_);
    
  2. or download this
    @array = qw(one two three);
    # @array contains "one", "two" and "three"
    
    @array = qw(four five);
    # @array now contains just "four" and "five"
    
  3. or download this
    @array = qw(one two three);
    # @array now contains "one", "two" and "three"
    
    push(@array, qw(four five));
    # @array now contains "one", "two", "three", "four" and "five"