in reply to Re: Re: Problems with open
in thread Problems with open
If you know the command after the pipe is going to be simple (just letters, digits and whitespace), you could test whether the first word exists somewhere in the current path and is executable. Or peek in the source of a modern perl and see how's it dealt with and mimic that.
But note that even recent perls only handle cases that don't involve the shell.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problems with open
by skerr1 (Sexton) on Jul 24, 2002 at 15:39 UTC | |
by Abigail-II (Bishop) on Jul 24, 2002 at 16:12 UTC | |
by skerr1 (Sexton) on Jul 24, 2002 at 16:35 UTC | |
by amphiplex (Monk) on Jul 24, 2002 at 16:05 UTC | |
by skerr1 (Sexton) on Jul 24, 2002 at 16:13 UTC |