Re: Windows XP ppm and perldoc problems
- From: jovo.miskin@xxxxxxxxxx
- Date: 28 Jun 2006 12:51:41 -0700
The problem seem to be specific to passing arguments to system call.
Let' say we create a perl script called sys_args.pl that contanis the
next two lines:
#my $opt_exe = "ppm3-bin";
system($opt_exe, @ARGV);
And also we add at the top of ppm3-bin next two lines:
my $numargs = scalar @ARGV;
print "in ppm3_bin, numargs = $numargs\n";
The command line
sys_args.pl
produces output
in ppm3_bin, numargs = 1
The command line
sys_args.pl 1 2 3
produces output
in ppm3_bin, numargs = 1
Jovo
.
- Follow-Ups:
- Re: Windows XP ppm and perldoc problems
- From: DJ Stunks
- Re: Windows XP ppm and perldoc problems
- From: jovo . miskin
- Re: Windows XP ppm and perldoc problems
- From: e_matthes
- Re: Windows XP ppm and perldoc problems
- References:
- Windows XP ppm and perldoc problems
- From: jovo . miskin
- Re: Windows XP ppm and perldoc problems
- From: e_matthes
- Re: Windows XP ppm and perldoc problems
- From: e_matthes
- Re: Windows XP ppm and perldoc problems
- From: jovo . miskin
- Windows XP ppm and perldoc problems
- Prev by Date: Re: dbi not installing
- Next by Date: Re: error when install GetOpt::Tabular
- Previous by thread: Re: Windows XP ppm and perldoc problems
- Next by thread: Re: Windows XP ppm and perldoc problems
- Index(es):
Relevant Pages
|