Ubuntu

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

Reported by Krzysztof Leszczyński on 2012-09-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
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]
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 post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers