Help for this page

Select Code to Download


  1. or download this
    $nest->nest('newlevel', attr1 => 1,
                            attr2 => 2,
                            attr3 => 3);
    
  2. or download this
    printf "%d", [3.4];
    
  3. or download this
    sub nest {
        my $tagname = $_[0];
        my $attributes = @_ == 2 ? $_[1] : [@_[1 .. $#_]];
        ...
    }