GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ACME::METASYNTACTIC::ALIAS (3)

.ds Aq ’

NAME

Acme::MetaSyntactic::Alias - Alias one theme to another

CONTENTS

SYNOPSIS



    package Acme::MetaSyntactic::bonk;
    use Acme::MetaSyntactic::Alias;
    our @ISA = qw( Acme::MetaSyntactic::Alias );
    __PACKAGE__->init(batman);
    1;

    =head1 NAME
   
    Acme::MetaSyntactic::bonk - The bonk theme
   
    =head1 DESCRIPTION
   
    This theme is just an alias of the C<batman> theme.

    =cut
   
    # no __DATA__ section required!



DESCRIPTION

Acme::MetaSyntactic::Alias is the base class for any themes that is simply an alias of another theme.

METHOD

Acme::MetaSyntactic::Alias defines a single method, init() that make aliases very easy to write (see the full example in SYNOPSIS):
init( $original ) init() must be called when the subclass is loaded, so as to correctly load and alias the original theme.

$original is the name of the original theme we want to alias.

AUTHOR

Philippe ’BooK’ Bruhat, <book@cpan.org>

COPYRIGHT & LICENSE

Copyright 2006 Philippe ’BooK’ Bruhat, All Rights Reserved.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ACME::METASYNTACTIC::ALIAS (3) 2013-10-14

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.