Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

JavaScript::Code::Condition
A JavaScript Condition

JavaScript::Code::Condition - A JavaScript Condition


NAME

JavaScript::Code::Condition - A JavaScript Condition


METHODS

new

$self->add_if( %args | \%args )

Adds a new if statement.

%args must contain the following keys:

- expression: a the JavaScript::Code::Expression::Boolean manpage object

- block: a the JavaScript::Code::Block manpage object

$self->else( $block )

Sets the else statement.

$block must be a the JavaScript::Code::Block manpage

$self->output( )


SEE ALSO

the JavaScript::Code manpage


AUTHOR

Sascha Kiefer, esskar@cpan.org


LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

1;

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy