Hi Frnds,
I have a problem with string passed as an argument to a perl script.

I am giving the string \"C:\\PROGRA~1\\INTERN~1\\IEXPLORE.EXE\"   as an
argument to the cmdtemplate option.
and it been taken as C:PROGRA~1INTERN~1IEXPLORE.EXE  after parsing it.

what happend to the back slash.??

In the perl script the parser code is like below
=======================
# Parse command line options

Getopt::Long::config( qw
                      (
                       no_ignore_case
                      )) ;

GetOptions("gid=i"         => \$GLOBALID,
           "context=s"     => \$CONTEXT,

           "nesubtype:s"   => \$NESUBTYPE,
           "neversion:s"   => \$NEVERSION,

           "emplatform=s"  => \$EMPLATFORM,
           "emapptype=s"   => \$EMAPPTYPE,
           "emappserver:s" => \$EMAPPSERVER,

           "cmdtemplate=s" => \$CMDTEMPLATE,
          "v"             => \$emicom::VERBOSE
          );
=============================

Please help me out..

Arjun

Deserve before you desire









Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to