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  -  PARSE::PERL::ENVIRONMENT (3)

.ds Aq ’

NAME

Parse::Perl::Environment - reified Perl lexical environment

CONTENTS

DESCRIPTION

An object of this class encapsulates a lexical environment for Perl source code. Such an object can be used to influence Perl parsing, through the parse_perl function in Parse::Perl. An environment object is most commonly generated by capturing the environment of running Perl code, through the current_environment operator in Parse::Perl.

The things determined by the lexical environment, which are encapsulated by this class, include:
o current package (controlled by package directives)
o activation of warnings (controlled by the warnings module)
o enforcement of language stricture (controlled by the strict module)
o availability of optional language features (controlled by the feature module)
o various other standard pragmata, such as integer, locale, sort, utf8
o array base offset ($[)
o the lexical hints hash %^H, and hence the various (mainly non-core) pragmata that are implemented through it
o visibility of lexical variables (introduced by my, our, or state)
Objects of this class are not meant to be examined manually. The layout varies between Perl versions, and between versions of the Parse::Perl module.

BUGS

This module provides no way to examine environments, or to create new environments other than by capturing an existing one. These shortcomings should be addressed in a future version.

SEE ALSO

Parse::Perl

AUTHOR

Andrew Main (Zefram) <zefram@fysh.org>

COPYRIGHT

Copyright (C) 2009, 2010, 2011, 2012 Andrew Main (Zefram) <zefram@fysh.org>

LICENSE

This module 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 PARSE::PERL::ENVIRONMENT (3) 2016-03-17

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