-
WOW! that was fast!
thanks for the input to you both.
I only need one parameter now but I would like to see how to handle more then one.
I appreciate everyones help
it works!!!
this is what linux need to be competitive. A quick down and dirty programming system that save people time. This program has taken 20 mins and will save us hours down the road.
-
Linux has Perl, Python, and a fast C++ compiler :)
-
Actually you can have more than 1 parameter. Just use the Split() function to differentiate them.
-
do you feel that it is as easy as VB to make a cross application program with perl?
I think that money is in the development time not always the speed of execution.
sure games need speed. but if I wrote this prog in C++ and it was 25% faster. Would mean nothing to us. With VB it comes up in a flash now. I have not written a C prog in 5 years(back in school)
I wish linux would take off, I use it, with apache for my home web server. But I don't think it is to a point where everyone can start using it. This is just my opinion.
Hell, I use the linux credit card that has MBNA donating money to the linux fund.:)
cute little penguin:D
-
Definitely, although text-handling apps work very well with Perl, and it's good for databases (the DBI module).
-
Since the contents of the "Command" function are in a string, you can use the string handling functions to split out multiple parameters.
-
I used a method like this:
Code:
c:\myapp\myapp.exe --parm1=val1 --spaceval="space val"
...and parsed it out into a Collection:
Code:
debug.print m_args("parm1") ' prints val1
I can't find the code at the moment, though.