Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Getopt configuration

by pbeckingham (Parson)
on Jul 30, 2004 at 19:30 UTC ( [id://378784]=note: print w/replies, xml ) Need Help??


in reply to Getopt configuration

I think you want this:

#! /usr/bin/perl -w use strict; use Getopt::Long; my $test = 1; GetOptions ('test' => \$test); if ($test) { ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://378784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2024-04-23 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found