![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Converting VBScript to PerlSciptby maa (Pilgrim) |
on Mar 16, 2005 at 08:14 UTC ( #439877=note: print w/replies, xml ) | Need Help?? |
VBScript has two types of arguments... Named and Anonymous and they are provided as follows:
This results in three Collection Objects Arguments(), Arguments.Named() and Arguments.UnNamed() These will have elements
There should be three elements of Arguments.UnNamed() with values "Arg1", "Arg2" and "Arg3". Documented at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wslrfnamedproperty.asp If you're converting you might use Getopt::Long - then you'd have GetOptions( "CycleDate"=>\$cycledate ...) or warn... HTH -- Mark
In Section
Seekers of Perl Wisdom
|
|