HTML::Mason::ComponentSource - represents information about an component


NAME

HTML::Mason::ComponentSource - represents information about an component

Back to Top


SYNOPSIS

    my $info = $resolver->get_info($comp_path);

Back to Top


DESCRIPTION

Mason uses the ComponentSource class to store information about a source component, one that has yet to be compiled.

Back to Top


METHODS

new

This method takes the following arguments:

comp_path
last_modified
comp_id
comp_class
friendly_name
extra

These are all simple accessors that return the value given to the constructor.

comp_source

Returns the source of the component.

object_code ( compiler => $compiler )

Given a compiler, this method returns the object code for the component.

HTML::Mason, HTML::Mason::Admin, HTML::Mason::Component

Back to Top

 HTML::Mason::ComponentSource - represents information about an component