Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Kite::PScript::Defs 0.4

    Download button

    No screenshots available
    Downloads: 533  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Simon Stapleton | More programs
    Perl Artistic License / FREE
    October 25th, 2007, 18:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Kite::PScript::Defs description

    Kite::PScript::Defs is a Perl module that contains useful PostScript definitions for kite layout et al.

    Kite::PScript::Defs is a Perl module that contains useful PostScript definitions for kite layout et al.

    SYNOPSIS

    use Kite::PScript::Defs;

    # access package variables directly
    print $Kite::PScript::Defs::mm;

    # or as package subs
    print Kite::PScript::Defs::mm();

    # or as class methods
    print Kite::PScript::Defs->mm();

    # here's a convenient shorthand
    my $ps = 'Kite::PScript::Defs';
    print $ps->mm;

    # import various definitions
    use Kite::PScript::Defs qw( mm clip );
    print mm, clip;

    # or specify :all tag to import all definitions as subs
    use Kite::PScsript::Defs qw( :all );
    print mm, reg, clip, pathtext;

    Module defining a number of useful PostScript definitions for kite part layout and other similar tasks.

    The definitions are provided as package variables which can be accessed directly:

    use Kite::PScript::Defs;

    print $Kite::PScript::Defs::mm;

    An AUTOLOAD method is provided which translates any subroutine or method calls into accesses to the appropriate variable. Thus, the PostScript definition specified in the $mm package variable can be accessed by calling either of:

    Kite::PScript::mm();
    Kite::PScript->mm();

    The latter use allows a 'factory' variable to be defined to make this less tedious.

    my $ps = 'Kite::PScript::Defs';
    print $ps->mm, $ps->clip, $ps->pathtext;

    You can specify import parameters when loading the module. Any definitions specified will be imported as subroutines into the caller's namespace.

    use Kite::PScript::Defs qw( mm clip );
    print mm, clip;

    The ':all' import tag can be specified to import all the PoscScript definitions.

    use Kite::PScript::Defs qw( :all );
    print mm, clip, pathtext;

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PostScript definitions | kite layout | Perl module | PostScript | definitions | kite

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM