If you want help, you will need to show us the actual code you're running. Also, please don't post screenshots where the simple source code and text output of Perl suffices. That makes it much easier for us to reproduce the problem and thus helps us help you better.
I suspect that, for some unshown reason, you have something like the following in your code at line 13:
my $p = sequence(64,48,3); # make test RGB image
my $win = $p->imag2d();
The documentation of PDL::Image2D claims that the usage is not as a method but as a separate function:
use PDL::Graphics2D;
my $p = sequence(64,48,3); # make test RGB image
my $win = imag2d( $p );
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.