Bug 429491
| Summary: | use option "-m[M]-module" when module is not specified, error message should be outputted in phase 'option analysis' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Yu Zhiguo <yuzg> | ||||
| Component: | perl | Assignee: | Marcela Mašláňová <mmaslano> | ||||
| Status: | CLOSED ERRATA | QA Contact: | desktop-bugs <desktop-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.1 | CC: | cward, psplicha, yuzg | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 493355 554645 (view as bug list) | Environment: | |||||
| Last Closed: | 2009-01-20 21:11:16 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 292312 [details]
the patch to correct this problem
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0117.html |
Description of problem: Use command perl with option "-m-module" or "-M-module" when module is not specified or specified '', error message should be outputted in phase 'option analysis' rather than 'compilation'. (like using these option without a dash("-")) Version-Release number of selected component (if applicable): perl-5.8.8-10 How reproducible: 100% Steps to Reproduce: # perl -m- -e 'print 123' or # perl -m-'' -e 'print 123' Actual results: error message is outputted in phase 'compilation': syntax error at -e line 0, near "no ;" Execution of -e aborted due to compilation errors. Expected results: error message should be outputted in phase 'option analysis' like using option -m[M] without a dash ("-"): # perl -m -e 'print 123' error message is: Missing argument to -m. Additional info: