On Saturday, June 15, 2002, at 09:10 , Robert Kasunic wrote:

>
> I'm trying to use Getopt::Long for parsing parameters passed to a
> function. I tried to test if that works by using the following script.
>
> -------------------------------------------------------
> #!/usr/bin/perl -w
> use strict;
> use Getopt::Long;
>
> sub test_params()
> {
>    @ARGV=@_;
>    print "ARGV: @ARGV\n";

that Could be the place that is causing emotional
trauma for the system - so what I offer you is
perchance a bit harry, but it creates a programme
that will allow you to screw around with IT as
the place to learn how to code this up....


http://www.wetware.com/drieux/pbl/perlTrick/SafelyPlayWithGetOpt.txt


Ok, so I am lazy - I want the code to manage passing the
arguments to an external application to make sure that
it understands how to do the song and dance with Getopt::Long...

HTH

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to