Help for this page

Select Code to Download


  1. or download this
    if (%depends) {
        print STDERR "\nUnsatisfied dependencies!\n";
    ...
            }
        }
    }
    
  2. or download this
    <root>
      <sub>value</sub>
      <some><x>45</x><y>77</y></some>
    </root>
    
  3. or download this
    root(
      sub('value'),
      some( x(45), y(77))
    )
    
  4. or download this
      'name' => sub { return 'name' => $_[1]->{_content}},
    or
    ...
        my ($tag,$attr) = @_;
        return 'name' => $attr->{_content}
      },
    
  5. or download this
      'name' => 'content',
    
  6. or download this
      <parent x="1"><name>jenda</name></parent>
    and
      <parent x="1" name="jenda"/>
    
  7. or download this
    <parent x="1">blah <name>jenda</name> blah</parent>
    
  8. or download this
    { x => "1", ":name" => {_content => "jenda"},
      _content => [ "blah ", ["name" => {_content => "jenda"}], " blah"] 
    }