Evanovich has asked for the wisdom of the Perl Monks concerning the following question:
The print does not yield my array, and I get the following error:#! /usr/bin/perl -w use strict; use PDL; open PROFILE, "profile" or die "Could not open\n"; my $array_ref; while (<PROFILE>) { push (@{$array_ref}, $_); } my $pdl = pdl($array_ref); print "$pdl\n":
If anyone can help me out with this, i'd really appreciate it.Argument "\x{30}\x{2e}..." isn't numeric in subroutine entry at /usr/l +ib/perl5/site_perl/5.8.0/i386-linux-thread-multi/PDL/Core.pm line 570 +, <PROFILE> line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Data Language Question
by chromatic (Archbishop) on Apr 01, 2003 at 03:02 UTC | |
|
Re: Perl Data Language Question
by graff (Chancellor) on Apr 01, 2003 at 03:19 UTC | |
|
Re: Perl Data Language Question
by pg (Canon) on Apr 01, 2003 at 03:48 UTC | |
by Evanovich (Scribe) on Apr 01, 2003 at 04:18 UTC | |
|
Re: Perl Data Language Question
by belg4mit (Prior) on Apr 01, 2003 at 03:17 UTC | |
by graff (Chancellor) on Apr 01, 2003 at 03:29 UTC | |
by belg4mit (Prior) on Apr 01, 2003 at 03:36 UTC |