> -----Original Message-----
> From: radhika [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 22, 2005 12:37 PM
> To: beginners@perl.org
> Subject: Using the perl debugger with options
> 
> Hi,
> I am a beginner perl programmer (but not exactly a novice) 
> and am writing
> a perl module which is itself inherited from another module. 
> Also my perl
> script uses getopts for various command line options. How can 
> I use the
> perl debugger with cmd line options?
> 
> every time I do:
> 
> ./my_perl_script --install --dbname="blah"
> 
> does not work.
> 
> Any hints will be helpful.
> 
> regards,
> Radhika


Did you try:

        perl -d /path/to/my_perl_script --install --dbname="blah"

That works for me on my scripts with Getopt::Long



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to