in reply to How do you create sub-nodes with XML::Smart

Well first off, next time please consider using the code tags. It will help the appearance of your post.

Next, did you check out CPAN? Here I was able to find some sample code.

Looks like you should use something like

$XML->{JOB}{DESC}[0] = $desc;