Error In Option Spec History H
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you error in option spec perl might have Meta Discuss the workings and policies of this site error in option spec long About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting error in option spec long mytop ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Perl Getopt Long
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getopt::Long::Descriptive - Error in option spec: up vote 3 down vote favorite I am new to writing usage statements in perl and am having some errors. See the error messages pasted below. The beginning of my script is pasted below. Please let me know if you spot any syntax errors, or anything else I am doing wrong. Thank you $ perl make_keggTable.pl -i ko2genes.pau Error in option spec: "input file|i=s" $ perl make_keggTable.pl --help Error in option spec: "input file|i=s" use strict; use warnings; use Data::Dumper; use Getopt::Long::Descriptive; #use Getopt::Long; #use Pod::Usage; ## usage and help info my ( $opt, $usage ) = describe_options( 'make_keggTable.pl %o', [ 'input file|i=s', 'file of NCBI locus IDS to Kegg KOs' ], [ 'OrgCode|o=s', 'kegg organism code(Pseu.PA14=pau, Pseu.PA01=pae,Salm.14028S=seo,Salm.LT2=stm,Ecoli.MG1655=eco)'], [], [ 'verbose|v', 'print with verbosity' ], [ 'help', 'print usage message and exit' ], ); if ($opt->help) { print $usage->text, "\n"; } perl share|improve this question edited Sep 25 '13 at 14:10 toolic 30.5k43468 asked Sep 25 '13 at 9:20 user2814482 126111 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted As perl and Getopt::Long follows the option syntax standard of Unix, the option name can't contain spaces
A • B • C • D • E F • G • H • I • L M • N • O • P • S T • U • X Getopt::Long Perl 5 version 24.0 documentation Go to top • Download PDF Show page index • Show recent pages Home > Core modules (G) > Getopt::Long Please note: Many features of this site require JavaScript. You appear to have JavaScript disabled, or are running http://stackoverflow.com/questions/19000963/getoptlongdescriptive-error-in-option-spec a non-JavaScript capable web browser. To get the best experience, please enable JavaScript or download a modern web browser such as Internet Explorer 8, Firefox, Safari, or Google Chrome. Recently read Getopt::Long NAMESYNOPSISDESCRIPTIONCommand Line Options, an IntroductionGetting Started with Getopt::LongSimple optionsA little bit less simple optionsMixing command line option with other argumentsOptions http://perldoc.perl.org/Getopt/Long.html with valuesOptions with multiple valuesOptions with hash valuesUser-defined subroutines to handle optionsOptions with multiple namesCase and abbreviationsSummary of Option SpecificationsAdvanced PossibilitiesObject oriented interfaceThread SafetyDocumentation and help textsParsing options from an arbitrary arrayParsing options from an arbitrary stringStoring options values in a hashBundlingThe lonesome dashArgument callbackConfiguring Getopt::LongExportable MethodsReturn values and ErrorsLegacyDefault destinationsAlternative option startersConfiguration variablesTips and TechniquesPushing multiple values in a hash optionTroubleshootingGetOptions does not return a false result when an option is not suppliedGetOptions does not split the command line correctlyUndefined subroutine &main::GetOptions calledHow do I put a "-?" option into a Getopt::Long?AUTHORCOPYRIGHT AND DISCLAIMERNAME Getopt::Long - Extended processing of command line options SYNOPSIS use Getopt::Long; my $data = "file.dat"; my $length = 24; my $verbose; GetOptions ("length=i" => \$length, # numeric "file=s" => \$data, # string "verbose" => \$verbose) # flag or die("Error in command line arguments\n");DESCRIPTION The Getopt::Long module implements an extended getopt function called GetOptions(). It parses the command line from application in Jaunty tckMay 1st, 2009, 06:20 PMHaving issues with https://ubuntuforums.org/archive/index.php/t-1145254.html this since upgrading/installing... anyone else having difficulties? (http://o2sms.sourceforge.net/) [ logging in to 086XXXXXXX@o2.ie ... ] ERROR: STEP2: Unexpected failure in step 2 (subtype submit_form); can't find http://www.unidata.ucar.edu/software/netcdf/fan_utils.html the form 'dashboard-login-form' Can't store CODE items at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_store.al) line 264, Status Archived Data Access Data Management Resource Center Software Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF NetCDF Java Rosetta THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Downloads Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF & NetCDF Java THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Terms & Conditions Provision of Software Support Support Resources Documentation Training Tutorials Mailing Lists Support Archives Submit a Request Suggested Support Process Email-Based Web-Based Terms & Conditions Obtaining Support Register as a User Community Outreach & Opportunities News from Unidata Unidata Events News from the Community Job Opportunities DeSouza Award Equipment Awards Summer Internships We Are Community Driven Participating Institutions Collaborations Education Resources Software & Data in Use How to Participate Acknowledging Unidata Governance Unidata's Governance Model Strategic Advisory Committee Users Committee Publications & Resources Bibliography Glossary of Terms Projects Current Projects ACADIS Case Studies Common Data Model CONDUIT GALEON GEON IDV Google Africa Initiative GRIDSPEC HYDRO-NEXRAD Internet Data Distribution LibCF McIDAS-V Data Intercomparisons Next-Generation LDM OPULS OWCS Python RAMADDA in the Unidata Community Teaching Resources Project Archive News News from Unidata News from Unidata Unidata Events Unidata Developer's Blog News from the Community News From the Community Community Jobs News Archives Events Summer/Fall 2016 Software Training Workshop Unidata Events Calendar of Events Seminar Series Conferences & Meetings Unidata Workshops Training Workshops Triennial Workshops Regional Workshops Data Workshops About Us The Unidata Program Overview of Unidata Highlights & Reports Unidata Brochure Unidata Director's Page Our Organization Working Groups Staff Listing Contact Unidata Contact Information Visit Unidata Search Menu Introduction to FAN Language and Utilities FAN Version 2.0 Harvey Davie