Cédric Bouvier

NAME

Launcher::Cascade::Printable - a base class for printable objects

SYNOPSIS

    package MyPrintable;
    use base qw( Launcher::Cascade::Printable );

    sub new {

        ...
    }

    sub as_string {

        my $self = shift;
        ...
    }

    1;

DESCRIPTION

This class serves as a base class for objects that might be included in a launcher's errors list.

Methods

as_string

Subclasses of Launcher::Cascade::Printable should overload this method to return a string representing their content. as_string() will be invoked when the object is interpolated in a double-quoted string, or in any situation where it is "stringified".

SEE ALSO

Launcher::Cascade::Base, Launcher::Cascade::ListOfStrings.

AUTHOR

Cédric Bouvier <cbouvi@cpan.org>

COPYRIGHT & LICENSE

Copyright (C) 2006 Cédric Bouvier, All Rights Reserved.

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 60:

Non-ASCII character seen before =encoding in 'Cédric'. Assuming ISO8859-1