Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hi zentara,

Thank you very much for your comments. I just updated the sheet to include your suggestions. Below is a sample 'perldlrc' file for those interested

Cheers,

lin0

# $HOME/.perldlrc # # startup file for perldl shell # # This file must be placed in your home directory. # perldl will look for it during start-up to load # default modules, set shell variables, etc. # If this file is not present, perldl will look for # PDL/default.perldlrc. # The advantage of using .perldlrc, is that you can # choose which modules to load by default # # Note: local defaults can be set using a file named # local.perldlrc # # For more information, please, have a look at: # http://pdl.sourceforge.net/PDLdocs/perldl.html # # Commands from the default startup for perldl shell. use PDL; use PDL::Dbg; # Enable useful commands # PDL waffle options (and pacify -w) BEGIN{ $PDL::debug = $PDL::debug = 0; $PDL::verbose = $PDL::verbose = 1; } use PDL::Doc::Perldl; # online docs module # # Some modules to load by default. # Feel free to add or delete modules from the list # use PDL::Graphics::PGPLOT; ## use 2D plotting package use PDL::Graphics::PGPLOT::Window; use PDL::Graphics::TriD; ## use 3D plotting package use PDL::Image2D; # # Loading the AutoLoader module that implements a MatLab # style AutoLoader for PDL. If a unknown function 'func()' # is called then a file 'func.pdl' is searched for and if # found is read in to define 'func()' which is then executed. # The environment variable PDLLIB defines the search path # used when looking for the file 'func.pdl' # e.g. in bash: # export PDLLIB=/home/lmr/pdllib:/local/pdllib # in csh: # setenv PDLLIB "/home/lmr/pdllib:/local/pdllib" # use PDL::AutoLoader; $PDL::AutoLoader::Rescan = 1; # Rescan .pdl files each time a prompt +goes out # # Set up perldl shell special variables # $PERLDL::MULTI = 1; # Accept multi-line perl blocks $PERLDL::NO_EOF = 1; # Prevent from accidentally exiting perldl by ty +ping ^D # # Greeting... # print "\nWelcome back!\n"; print "\nType 'help' or '?' for basic help.\n"; 1; # Successful completion

In reply to Re^2: RFC: PDL Cheat Sheet by lin0
in thread RFC: PDL Cheat Sheet by lin0

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found