Help for this page

Select Code to Download


  1. or download this
    use strict;
    use XML::Smart;
    ...
    $XML->{JOB}{NUM}[0] = $num;
    
    $XML->save('output.xml');
    
  2. or download this
    <JOB NAME="a job name" NUM="a number">
      <DESC>a description</DESC>
      <DESC>another description</DESC>
    </JOB>
    
  3. or download this
    $XML->{JOB}{DESC}= $desc;
    $XML->{JOB}{DESC}->set_node(1) ;
    
  4. or download this
    <JOB NAME="a job name" NUM="a number">
      <DESC>a description</DESC>
    </JOB>