[Bug 183553] New: perlbug #38657: Using import() with arguments with -d: broke in 5.8.8, was okay in 5.8.7

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 21:47:14 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183553

           Summary: perlbug #38657: Using import() with arguments with -d:
                    broke in 5.8.8, was okay in 5.8.7
           Product: Fedora Core
           Version: devel
          Platform: All
               URL: http://rt.perl.org/rt3/index.html?q=38657
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: normal
         Component: perl
        AssignedTo: jvdias at redhat.com
        ReportedBy: jvdias at redhat.com
         QAContact: dkl at redhat.com
                CC: fedora-perl-devel-list at redhat.com


Description of problem:

Copied from perlbug #38657: http://rt.perl.org/rt3/index.html?q=38657 :

Using import() with arguments with -d: broke in 5.8.8, was okay in 5.8.7.

$ mkdir -p lib/Devel
$ echo 'package Devel::Foo; sub import { print "import(@_)" } sub
\ DB::DB { } 1' > lib/Devel/Foo.pm
$ /tmp/jhi/p587/bin/perl -wIlib -d:Foo -le 1
import(Devel::Foo)
$ /tmp/jhi/p588/bin/perl -wIlib -d:Foo -le 1
import(Devel::Foo)
$ /tmp/jhi/p587/bin/perl -wIlib -d:Foo=bar -le 1
import(Devel::Foo bar)
$ /tmp/jhi/p588/bin/perl -wIlib -d:Foo=bar -le 1
Can't find string terminator ";" anywhere before EOF.
$ 


Version-Release number of selected component (if applicable):
perl-5.8.8

How reproducible:
100%

Steps to Reproduce:
See above

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list