Hi Guys,
I am summarizing this problem with a example. Appreciate if someone
could help me.
Say, I have a wrapper shell script which calls a perl program. I want
to pass the command line options to this perl program.
In the Wrapper (TCSH) script, I have something like this
set TEMP = "x y z";
mytest.pl -t ${TEMP};
------------------------
In the Perl program, I have something like this;
(Only fragment shown)
my $status = GetOpt::Long:GetOptions ('t|test=s' => \$temp_var);
print "$temp_var \n";
---------------
This prints only x and not all of the "x y z"
I am new to Perl but reasonably good in scripting.. Please help me..
Regards,
Arvind Kumar