I am having this strange problem with Perl. I am trying to execute an external program from within my Perl script, and this external program takes the string + wildcard as parameters. My Perl program looks like this:
my $cmd_to_run = 'find-something-in-somedb myname* |'
open(procHandle, $cmd_to_run);
For some strange reason, starting this Perl script (under Windows) of a function call openfails:
'sqlselect' is not recognized as an internal or external command
I guessed that there was something to do with it *on my command line, and so I deleted it, and now my command line looks like
my $cmd_to_run = 'find-something-in-somedb myname|'
Now when I run my Perl script, it works fine. The problem only occurs when there is a wildcard.
Some notes:
???
EDIT. , ENV. , , "sqlselect", "*" wild card...
find-something-in-somedb, sqlselect . , perl "find-in-db", "sqlselect"
, , - . - "ENV", Wildcard *