Help for this page

Select Code to Download


  1. or download this
      sub PUSH {
        my(@array, @new_items) = @_;
    ...
    
      my @target = ('RED', 'GREEN');
      PUSH(@target, 'blue');
    
  2. or download this
      sub PUSH {
        my($array, @new_items) = @_;
    ...
    
      my @target = ('RED', 'GREEN');
      PUSH(\@target, 'blue');
    
  3. or download this
      sub PUSH (\@@) {
        my($array, @new_items) = @_;
    ...
    
      my @target = ('RED', 'GREEN');
      PUSH @target, 'blue';
    
  4. or download this
         sub border_style ($$$) {
    
  5. or download this
         sub border_style {
           my($width, $style, $colour) = @_;
    
  6. or download this
        sub border ($;$$) {
          my($width, $style, $colour) = @_;
    ...
    
          return "border: $width $style $colour;";
        }
    
  7. or download this
        print border('1px'), "\n";
    
  8. or download this
        my @args;
        push @args, $selected ? '5px' : '1px';
    ...
        push @args, 'red' if $selected;
    
        print border(@args), "\n";
    
  9. or download this
        "border: 5px dashed red;"
    
  10. or download this
        "border: 3 solid black;"