sub import {
shift;
- warnings::warnif('deprecated', qq{parameterless "use IO" deprecated})
+ warnings::warnif('deprecated', qq{Parameterless "use IO" deprecated})
if @_ == 0 ;
my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir);
{
local $^W = 1;
IO->import();
- like( $warn, qr/^parameterless "use IO" deprecated at/,
+ like( $warn, qr/^Parameterless "use IO" deprecated at/,
"... import default, should warn");
$warn = '' ;
}
{
use warnings 'deprecated' ;
IO->import();
- like( $warn, qr/^parameterless "use IO" deprecated at/,
+ like( $warn, qr/^Parameterless "use IO" deprecated at/,
"... import default, should warn");
$warn = '' ;
}
{
use warnings ;
IO->import();
- like( $warn, qr/^parameterless "use IO" deprecated at/,
+ like( $warn, qr/^Parameterless "use IO" deprecated at/,
"... import default, should warn");
$warn = '' ;
}