Perldl2(3pm) User Contributed Perl Documentation Perldl2(3pm)NAME
PDL::Perldl2::Profile::Perldl2 - profile for Perldl2 shell
SYNOPSIS
system> re.pl --profile=PDL::Perldl2::Profile::Perldl2 # unix-ish shell
system> re --profile=PDL::Perldl2::Profile::Perldl2 # win32 CMD shell
Perldl2 Shell v0.004
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.
Loaded plugins:
CleanErrors
Commands
Completion
CompletionDriver::INC
CompletionDriver::Keywords
CompletionDriver::LexEnv
CompletionDriver::Methods
DDS
FindVariable
History
Interrupt
LexEnv
MultiLine::PPI
NiceSlice
PDLCommands
Packages
PrintControl
ReadLineHistory
Type 'help' for online help
Type Ctrl-D or quit to exit
Loaded PDL v2.4.9
pdl>
DESCRIPTION
This profile is for development of the new PDL shell (version 2). The preferred method to start the new shell is via the "pdl2" command.
This documentation is provided for "Devel::REPL" coders that may wish to use this profile directly for their development.
SEE ALSO
"Devel::REPL", "Devel::REPL::Profile", and "PDL::Perldl".
AUTHOR
Chris Marshall, "<chm at cpan dot org>"
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Christopher Marshall
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-05-20 Perldl2(3pm)
Check Out this Related Man Page
PrintControl(3pm) User Contributed Perl Documentation PrintControl(3pm)NAME
PDL::Perldl2::Plugin::PrintControl - disable default print output
SYNOPSIS
pdl> $a = 3;
3
pdl> $_REPL->load_plugin('PDL::Perldl2::Plugin::PrintControl');
pdl> $a;
pdl> $_REPL->print_by_default(1);
1
pdl> $a;
3
DESCRIPTION
By default the Devel::REPL always prints the results of its evaluation. This is fine for small objects but for things like large data
objects (e.g. a 100x100 matrix in PDL) the result can be hundreds of lines of output for each command.
This plugin disables the default print output and adds an attribute with accessor method "print_by_default" which can be used to toggle the
print default on or off.
METHODS
print_by_default
By default, the "PrintControl" plugin sets "print_by_default" to 0 (false), which disables automatic printing of results. Call the
print_by_default accessor with a 1 (true value) to enable default printing.
do_print
This is a convenience accessor for the print_by_default attribute. If you call this method without a value, it toggles the current
setting. Otherwise, it just sets print_by_default to the value.
It is also available in the "pdl2" shell as the do_print sub with the same operation but with an implicit use of $_REPL.
SEE ALSO
"Devel::REPL"
AUTHOR
Chris Marshall, "<chm at cpan dot org>"
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Christopher Marshall
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-02 PrintControl(3pm)
I am trying to figure a way to update an environmental variable in my .profile from script.
I have a variable name CON_DIR in my .profile.
I want to be able to update this variable directly via another unix script.
Any ideas?
Thanks. (5 Replies)
I am having a problem running a shell within CRON. It will run successfully if I do not inject a .profile into the entry. However, the second I place a . profile in front of the shell, the job does not execute. Any ideas? (4 Replies)
Definitely a unix dummy. I edited the paths in the /etc/profile file - following the instructions on an install package. Now can't use vi, cat pg ls or any other unix commands. Guess I'm in big trouble.
Path reads
MANPATH=/opt/hpnp/man
PATH=/opt/hpnpl/bin
LD_LIBRARY_PATH=/opt/hpnp/lib
... (4 Replies)
hi..
I want to customize a user in unix which could have only ftp access and NO TELNET ACCESS! .....
As being a newbie to unix to my understanding the user .profile has to be edited but if someone can explain how to edit it so that i can block telnet access for that user.....Is /etc/profile has... (5 Replies)
Hi,
I have to run a sqr program.
In the profile file everything is set.
e.g
APPLID=personel
APPPATH=/${ENVIRONMENT}/${APPPATH}
and so on..
SQRDIR=/opt/sqr/bin/syb
Still when I'm running this script,its giving error APPLID not set and SQRDIR not set.
Any idea,why?
TIA (5 Replies)
I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Hello,
I want to start learning Perl, but I need some expert's advice:) Could you recommend me any online manual or book to start with? I have some experience with bash and C, so I am not a complete newbie in programming. What's your advise to start with?
Thank you very much for your answers!
... (5 Replies)
Hi, If I want to write perl program that simulated Least Recently Loaded(LRL) to calculate page fault:
The user must input page access and number of page fram that need to be greater than 3
Example
Page Access: 5, 3, 4, 1, 7, 5, 3, 2, 3, 6, 7, 1, 4, 6
Frames: 3
PA: 5 3 4 1 7 5 3 2 3 6... (6 Replies)
I have the following texts in a .txt file,
22/02 23/02 24/02 25/02 26/02
Bike speed (kmph) 004 004 004 004 004
22/02 23/02 24/02 25/02 26/02
Bike speed (kmph) 004 007 007 007 011
I am trying to export it to .csv by doing
cat nic.txt > nic.csv
22/02 23/02 are date and this has to... (7 Replies)
Hey,
I am thinking to get rid of the old and clunky member profile pages and replace with a prototype from Brad at Traversy Media.
Here is the prototype:
Welcome To My Portfolio
Basically, I will take the links in the user profile page and put them into the new format when I have time.... (3 Replies)
The legacy forum user pages are a mess.... the HTML and PHP is based on 10 year+ old code which was poorly written to support the nutty idea of "custom user CSS"... which maybe was a cute idea a decade ago but now it is just bad code.
So, my idea is to basically change the user profile page to... (4 Replies)