Cross Reference: filehandles.t
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Test
/
Simple
/
t
/
filehandles.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1
N/A
#!perl -w
1
N/A
1
N/A
BEGIN
{
1
N/A
if
(
$ENV
{
PERL_CORE
} )
{
1
N/A
chdir
't'
;
1
N/A
@
INC
=
'../lib'
;
1
N/A
}
1
N/A
}
1
N/A
1
N/A
use
Test
::
More
tests
=>
1
;
1
N/A
1
N/A
tie
*
STDOUT
,
"Dev::Null"
or
die
$!;
1
N/A
1
N/A
print
"not ok 1\n"
;
# this should not print.
1
N/A
pass
'STDOUT can be mucked with'
;
1
N/A
1
N/A
1
N/A
package
Dev
::
Null
;
1
N/A
1
N/A
sub
TIEHANDLE
{
bless
{} }
1
N/A
sub
PRINT
{
1
}