The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WML::Deck - Perl extension for builiding WML Decks.

SYNOPSIS

use WML::Card;

use WML::Deck;

my @cards;

my $options= [ ['Option 1', 'http://...'], ['Option 2', 'http://...'],

];

my $c = WML::Card->guess('index','Wap Site'); $c->link_list('indice', undef, 0, $options, $options); push @cards, $c;

# Build the deck my $wml = WML::Deck->new(@cards); $wml->return_cgi;

DESCRIPTION

This perl library simplifies the creation of WML decks on the fly. In combination with WML::Card it provides functionality to build WML code for cards and decks.

Methods

$wml = WML::Deck->new(@cards);

This class method constructs a new WML::Deck object. The first argument is an array of WML::Card objects.

$wml->cache($n);

This class methos specifies the max-age argument for Cache-Control

$wml->return_cgi;

This method prints wml code and HTTP headers for the deck.

AUTHOR

Mariana Alvaro mariana@alvaro.com.ar

Copyright 2000 Mariana Alvaro. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

WML::Card

1 POD Error

The following errors were encountered while parsing the POD:

Around line 137:

You forgot a '=back' before '=head1'