CGI::Lazy::CSS - CGI::Lazy::CSS documentation


CGI-Lazy documentation  | view source Contained in the CGI-Lazy distribution.

Index


LEGAL

Top

SYNOPSIS

Top

	use CGI::Lazy;

	my $q = CGI::Lazy->new();




	print $q->header,

	      $q->css->load('somefile.css');




DESCRIPTION

CGI::Lazy::CSS is just a convience module for accessing css files.

METHODS

Top

dir ()

Returns directory containing css specified at lazy object creation

file (css)

Returns absolute path to file css parsed with document root and css directory

css

Css file name

load (file)

Reads file from css directory , wraps in script tags for output to browser

file

filename of cssfile

new ( q )

constructor.

q

CGI::Lazy object


CGI-Lazy documentation  | view source Contained in the CGI-Lazy distribution.