in reply to Re: Re: Re: Re: Re: Grabbing tokens
in thread Grabbing tokens

Sorry for you...
$ ./p1 glob failed (child exited with status 1) at ./p1 line 3. :From Perl Not BASH Script $

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Grabbing tokens
by cbro (Pilgrim) on May 14, 2003 at 13:49 UTC
    Do you have a "./" in front of the program name...cuz that's the only way I can get the 'glob failed' error you are getting. That's why I mentioned to use the exact program that I posted in my latter post not the first time I posted code. First, here is confirmation between the different runs.
    [cbro@chromium:~] $ /usr/local/bin/perl5.00503 testers.pl Success [cbro@chromium:~] $ /usr/local/bin/perl6 testers.pl `./testers.sh`
    Again, I only get the 'glob' failed if I do:
    $prg = "testers.sh"; $ret_val = <`$prg`> print "\n\n$ret_val\n\n";
    This is fixed immediately when I do:
    $prg = "./testers.sh";