[Bug 1045250] [NEW] Can't use perl -w when require'ing sys/ioctl.ph

Krzysztof Leszczyński chris.lesz at gmail.com
Mon Sep 3 10:02:14 UTC 2012


Public bug reported:

perl -e 'require q{sys/ioctl.ph}'
compiles correctly
perl -w -e 'require q{sys/ioctl.ph}'
reports:
Operator or semicolon missing before &__inline at (eval 113) line 1.
Ambiguous use of & resolved as operator & at (eval 113) line 1.

perl -w -e '{local $^W=0; require q{sys/ioctl.ph}}'
compiles correctly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: perl 5.14.2-6ubuntu2.1 [modified: usr/bin/perldoc]
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Mon Sep  3 12:43:52 2012
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: perl
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1045250

Title:
  Can't use perl -w when require'ing sys/ioctl.ph

Status in “perl” package in Ubuntu:
  New

Bug description:
  perl -e 'require q{sys/ioctl.ph}'
  compiles correctly
  perl -w -e 'require q{sys/ioctl.ph}'
  reports:
  Operator or semicolon missing before &__inline at (eval 113) line 1.
  Ambiguous use of & resolved as operator & at (eval 113) line 1.

  perl -w -e '{local $^W=0; require q{sys/ioctl.ph}}'
  compiles correctly.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: perl 5.14.2-6ubuntu2.1 [modified: usr/bin/perldoc]
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
  Uname: Linux 3.2.0-29-generic x86_64
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  Date: Mon Sep  3 12:43:52 2012
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: perl
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1045250/+subscriptions




More information about the foundations-bugs mailing list