~~David~~ has asked for the wisdom of the Perl Monks concerning the following question:
I would like to make a subroutine that takes certain arguments, and creates my slides for me, for instance, I would like to be able to pass something like this:
1. SLIDE #1, TYPE = ppBLAHBLAH, Title = ... a. Element #1: 1. Type = picture 2. path to picture 3. parameter 1, etc.. b. Element #2: 1. type = text box 2. text... 3. parameter, etc...
What is the best data structure to use to accomplish this goal? Can I make this with a hash of hashes?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by philcrow (Priest) on Mar 13, 2007 at 15:45 UTC | |
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by clinton (Priest) on Mar 13, 2007 at 17:32 UTC | |
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by planetscape (Chancellor) on Mar 13, 2007 at 20:33 UTC | |
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by imp (Priest) on Mar 13, 2007 at 15:44 UTC | |
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by GrandFather (Saint) on Mar 13, 2007 at 19:47 UTC | |
|
Re: Best Data Structure for passing in multiple arguments to a sub-routine
by jettero (Monsignor) on Mar 13, 2007 at 15:42 UTC |