logo       

Re: odd exec / PDL problem: msg#00008

Subject: Re: odd exec / PDL problem
 Yes, this fixes the problem

exec ($cmd) or die "Could not exec (" . $? . ", " . $! . ")\n";

 Xavier

On 5/4/07, Vanuxem Grégory <vanuxemg@xxxxxxxx> wrote:
Hello,

Quickly, sorry I'm totally busy, but if I'm remember correctly this
comes from the fact that PDL exports functions like 'or' or 'and'.
Adding parenthesis fixes theses type of things. Don't know who to blame,
a Perl specialist could give some insight here.

Greg

Le lundi 23 avril 2007 à 17:22 -0400, Erasmus Oblar a écrit :
> I've run into an odd problem that seems to involve PDL, I was hoping
> someone on the list could give me a hand.
>
> this script:
>
> #!/usr/bin/perl -w
> my $cmd ="echo hello";
> exec $cmd or die "Could not exec (" . $? . ", " . $! . ")\n";
>
> works as expected (prints hello), but if I insert:
> use PDL;
> after the first line, I get the following error:
> Could not exec (0, Illegal seek)
>
>
> This happens on both x86_64 and i386, and with PDL version 2.4.3 and
> 2.3.4, perl 5.8.
> Any thoughts as to what might cause this?
> Thanks,
> eo
>
>
> _______________________________________________
> Perldl mailing list
> Perldl@xxxxxxxxxxxxxxx
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
Perldl@xxxxxxxxxxxxxxx
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe