PERLCONSOLE(1p) User Contributed Perl Documentation PERLCONSOLE(1p)NAME
perlconsole - light program that lets you evaluate Perl code interactively.
COPYRIGHT
Perl Console is Copyright (C) 2007 by Alexis Sukrieh
DESCRIPTION
Perl Console is a small program that implements a Read-eval-print loop: it lets you evaluate Perl code interactively.
It uses Readline to grab input, and provides completion with all the namespaces loaded during your session. It allows you to load a module
in your session and test a function exported by it.
COMMANDS
It's possible to interact with the console with internal commands. The following commands are supported in this version:
:help display the interactive help screen
:quit quit the console
:set set a preference (see PREFERENCES).
RCFILE
PerlConsole will look for a rcfile located in your home directory called: ~/.perlconsolerc
Every line in that file will be evaluated as if they were issued in the console. You can then load there your favorite modules, or even
define your preferences.
Example of a valid ~/.perlconsolerc
:set output = dumper
use Date::Calc;
PREFERENCES
Preferences can be set with the :set command. The following preferences are supported in this version:
output changes the output of evaluated code
For details about commands, ype :help <command> within the console.
AUTHOR
Perl Console was writen by Alexis Sukrieh <sukria@sukria.net>.
perl v5.12.4 2011-09-18 PERLCONSOLE(1p)
Check Out this Related Man Page
Dancer::Session::YAML(3pm) User Contributed Perl Documentation Dancer::Session::YAML(3pm)NAME
Dancer::Session::YAML - YAML-file-based session backend for Dancer
DESCRIPTION
This module implements a session engine based on YAML files. Session are stored in a session_dir as YAML files. The idea behind this module
was to provide a transparent session storage for the developer.
This backend is intended to be used in development environments, when looking inside a session can be useful.
It's not recommended to use this session engine in production environments.
CONFIGURATION
The setting session should be set to "YAML" in order to use this session engine in a Dancer application.
Files will be stored to the value of the setting "session_dir", whose default value is "appdir/sessions".
Here is an example configuration that use this session engine and stores session files in /tmp/dancer-sessions
session: "YAML"
session_dir: "/tmp/dancer-sessions"
METHODS
reset
to avoid checking if the sessions directory exists everytime a new session is created, this module maintains a cache of session directories
it has already created. "reset" wipes this cache out, forcing a test for existence of the sessions directory next time a session is
created. It takes no argument.
This is particulary useful if you want to remove the sessions directory on the system where your app is running, but you want this session
engine to continue to work without having to restart your application.
DEPENDENCY
This module depends on YAML.
AUTHOR
This module has been written by Alexis Sukrieh, see the AUTHORS file for details.
SEE ALSO
See Dancer::Session for details about session usage in route handlers.
COPYRIGHT
This module is copyright (c) 2009 Alexis Sukrieh <sukria@sukria.net>
LICENSE
This module is free software and is released under the same terms as Perl itself.
perl v5.14.2 2011-11-30 Dancer::Session::YAML(3pm)
Hi,
whenever I copy a code to vi session from other script it just goes weird.
It just goes across the whole screen and looks really bizzare
If the code is small I can manually remove the tabs and indent it correctly but if it is 2000 lines it makes it really difficult.
Is there something... (12 Replies)
I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
I was a sys admin on a HP3000. I was able to virtually move the console where ever I needed it for commands that had to be done at the master console. So I could be at home and perform some functions that you would usually have to do from the console. Now I am sys admin newbee on an AIX pseries.... (2 Replies)
Dear gentlemen
I faced one problem when i made shutdown to my server AIX pserise/6000
the problem is the console (my console is outside not inside the server) corrupted during shutdown and restart so in this case I have to reinstall the linux in the console to allow me manage LPARS in the... (11 Replies)
We have an interactive program from a 3rd party. We don't have the code. When I execute some of its commands through telnet, it complains, "Command must be executed from master console". Can executing this program from a shell through telnet get around this problem? Can cron get around this? Thanks. (1 Reply)
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Hi,
I would appreciate some help.
I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console.
The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Hello,
Oracle PDF reports run only when you run the command
# xhost +
from the console,
but if you run from the xmanager session , then report doesn't work
running from windows pc using xmanager
# xhost +
access control disabled, clients can connect from any host
# echo... (7 Replies)
How about a thread to show your Desktop, Console or computing environment...
This is my current MacBook Pro 13 inch screen...
Let's see some others no matter how boring... ;oD (7 Replies)
Hi there,
How do I enter command to the interactive console.
I was able to do it via the first line. What if I have more lines to input into the interactive console from line 3 onwards. Is there a more easier way?
(echo -e "load openvas" ; echo -e "openvas_help") | msfconsole
... (4 Replies)
Hi,
when I boot I get an E1DC error code. I've looked it up and it says that this error occurs during the firmware check. But the error is called "Dynamic Console Selection" .
1- Machine stopped at LCD led display = E1DC = CA00E1DC
E1DC Dynamic console selection. (maybe cable or keyboard)... (3 Replies)
Hi everyone, need some help if anyone can spare some of their knowledge.
I have a script i use and the script outputs some information of an action it performs.
It lists as text when it peforms this important step:
1 renew done
2 renew done
3 renew done
4 renew done
5 renew done
I had... (8 Replies)