Perl Data Language - Perldl

An installation of PDL usually comes with an interactive shell known as perldl, which can be used to perform simple calculations without requiring the user to create a Perl program file. A typical session of perldl would look something like the following:

perldl> $x = pdl, ]; perldl> $y = pdl, ]; perldl> $z = $x x $y; perldl> p $z; [ ]

The commands used in the shell are Perl statements that can be used in a program with PDL module included. x is an overloaded operator for matrix multiplication, and p in the last command is a shortcut for print.

Read more about this topic:  Perl Data Language