doubt?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chinnu2809
    New Member
    • Feb 2008
    • 5

    doubt?

    i executed an xml file using exec command in perl but after the exec there are some lines in perl to modify that xml file but what it does

    the xml file alone is executed and then returns the lines after the exec command is not taken into account !
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    try using system() instead of exec(). Once you call exec() it exits the perl program and never returns. This is clearly stated in the exec() functions man page. If you need return value from the program use qx// instead of system().

    Comment

    Working...