amvarma has asked for the wisdom of the Perl Monks concerning the following question:
Anything wrong here. Thnks amvarmaopendir(DIR, "/usr/home/automation/Sanity/xml/"); my @ssl = grep /\.xml$/, readdir(DIR); close(DIR); foreach $ssl (@ssl) { open(SSL, "$ssl"); my @in = <SSL>; close(SSL); foreach (@in) { s/sessionID/$SID/; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: update a value in xml file
by moritz (Cardinal) on Apr 12, 2011 at 12:22 UTC | |
|
Re: update a value in xml file
by InfiniteSilence (Curate) on Apr 12, 2011 at 13:30 UTC | |
|
Re: update a value in xml file
by locked_user sundialsvc4 (Abbot) on Apr 12, 2011 at 15:59 UTC |