CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [BillKSmith] Print usage whenever there is an argument with no option: Edit Log



guru_perl
Novice

Jan 26, 2011, 7:56 PM


Views: 4303
Re: [BillKSmith] Print usage whenever there is an argument with no option

Is the below right?both are opts{b}.Also I dont think we are making sure when there is an argument without option print the usage?

Code
or (exists $opts{b} and !defined $opts{b})



(This post was edited by guru_perl on Jan 26, 2011, 7:59 PM)


Edit Log:
Post edited by guru_perl (Novice) on Jan 26, 2011, 7:59 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives