debian man page for devel::repl::plugin::lexenv

Query: devel::repl::plugin::lexenv

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Devel::REPL::Plugin::LexEnv(3pm)			User Contributed Perl Documentation			  Devel::REPL::Plugin::LexEnv(3pm)

NAME
Devel::REPL::Plugin::LexEnv - Provide a lexical environment for the REPL
SYNOPSIS
# in your re.pl file: use Devel::REPL; my $repl = Devel::REPL->new; $repl->load_plugin('LexEnv'); $repl->lexical_environment->do(<<'CODEZ'); use FindBin; use lib "$FindBin::Bin/../lib"; use MyApp::Schema; my $s = MyApp::Schema->connect('dbi:Pg:dbname=foo','broseph','elided'); CODEZ $repl->run; # after you run re.pl: $ warn $s->resultset('User')->first->first_name # <-- note that $s works perl v5.14.2 2010-05-08 Devel::REPL::Plugin::LexEnv(3pm)
Related Man Pages
devel::repl::overview(3pm) - debian
devel::patchperl::plugin(3pm) - debian
devel::repl::plugin::outputcache(3pm) - debian
devel::repl::plugin::readlinehistory(3pm) - debian
pdl::perldl2::printcontrol(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
Detecting unused variables...
One instance of comparing grep and awk
How to copy a column of multiple files and paste into new excel file (next to column)?