jorg has asked for the wisdom of the Perl Monks concerning the following question:
to<myobject> <function name="init"> <parameter name="arg1">value1</parameter> <parameter name="arg2">value2</parameter> </function> </myobject>
*automatically* ? I don't want to write the parsing code for all the packages i want to access this way. I remember a long time ago seeing something vaguely similar here on perlmonks. Any thoughts?my $object = new MyObject(); $object->init(value1, value2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: generate XML command front to package
by jeffa (Bishop) on Sep 02, 2003 at 13:40 UTC | |
|
Re: generate XML command front to package
by gjb (Vicar) on Sep 02, 2003 at 11:03 UTC | |
|
Re: generate XML command front to package
by edan (Curate) on Sep 02, 2003 at 09:53 UTC | |
by jorg (Friar) on Sep 02, 2003 at 10:15 UTC | |
by Anonymous Monk on Sep 02, 2003 at 10:26 UTC | |
by jorg (Friar) on Sep 02, 2003 at 11:26 UTC | |
|
Re: generate XML command front to package
by derby (Abbot) on Sep 02, 2003 at 12:29 UTC | |
|
Re: generate XML command front to package
by cheshirecat (Sexton) on Sep 03, 2003 at 19:21 UTC |