View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Nik Ogura > CGI-Lazy > CGI::Lazy::CSS

Download:
Lazy/CGI-Lazy-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

LEGAL ^

#===========================================================================

Copyright (C) 2008 by Nik Ogura. All rights reserved.

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

Bug reports and comments to nik.ogura@gmail.com.

#=========================================================================== =head1 NAME

CGI::Lazy::CSS

SYNOPSIS ^

        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 ^

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

syntax highlighting: