Can't use perl -w when require'ing sys/ioctl.ph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
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]
ProcVersionSign
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)