Paul Miller > Games-RolePlay-MapGen-1.5008 > Games::RolePlay::MapGen::Generator::XMLImport

Download:
Games-RolePlay-MapGen-1.5008.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Games::RolePlay::MapGen::Generator::XMLImport - Slurp up XML map data into MapGen memory form

SYNOPSIS ^

    use Games::RolePlay::MapGen;

    my $map = new Games::RolePlay::MapGen;
    
    $map->set_generator( "XMLImport" );
    $map->generate( xml_input_file => "map.xml" );

The MapGen base object also knows a shortcut to perform the above:

    my $map = Games::RolePlay::MapGen->import_xml("map.xml"); 

SEE ALSO ^

Games::RolePlay::MapGen

syntax highlighting: