NAME 

perldl - Simple shell for PDL

SYNOPSIS 

        %> perldl
        perldl> $a=sequence(10) # or any other PDL command

        %> perldl - pdlscript

        #!/usr/bin/pdl

DESCRIPTION 

The program perldl is a simple shell (written in perl) for interactive use of PDL. perl/PDL commands can simply be typed in - and edited if you have appropriate version of the ReadLines and ReadKeys modules installed. In that case perldl also supports a history mechanism where the last 50 commands are always stored in the file .perldl_hist in your home directory between sessions. The command "l [number]" shows you the last "number" commands you typed where "number" defaults to 20.

e.g.:

   % perldl
   ReadLines enabled
   perldl> $a = rfits "foo.fits"
   BITPIX =  -32  size = 88504 pixels
   Reading  354016 bytes
   BSCALE =  &&  BZERO =

   perldl> imag log($a+400)
   Displaying 299 x 296 image from 4.6939525604248 to 9.67116928100586 ...