Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use XML::Simple;
    my $xmlfile = q{xml_simple_args.xml};
    my $xml = XML::Simple->new();
    
  2. or download this
    $ xml_simple_args.pl
    Bareword "Polo" not allowed while "strict subs" in use at ./xml_simple
    +_args.pl line 9.
    Execution of ./xml_simple_args.pl aborted due to compilation errors.
    
  3. or download this
    $ xml_simple_args.pl
    Can't modify constant item in scalar assignment at ./xml_simple_args.p
    +l line 11, near "],"
    Bareword "_user_tags" not allowed while "strict subs" in use at ./xml_
    +simple_args.pl line 9.
    Execution of ./xml_simple_args.pl aborted due to compilation errors.
    
  4. or download this
    my $self = { _username => q{Polo},
                 _user_tags => [],
                 _user_pass => undef,
    };
    
  5. or download this
    my $xml = XMLout($hashref [, <options>]);
    
  6. or download this
    $ cat xml_simple_args.xml
    <?xml version='1.0' standalone='yes'?>
    ...
      <_user_pass></_user_pass>
      <_username>Polo</_username>
    </opt>