develooper Front page | perl.perl5.porters | Postings from May 2004

stdio still supported?

Thread Next
From:
Dave Mitchell
Date:
May 5, 2004 14:18
Subject:
stdio still supported?
Message ID:
20040505212323.GA20540@iabyn.com

> linux       [stdio       ]-Uuseperlio
> linux       [stdio       ]-DDEBUGGING -Uuseperlio
>     ../ext/B/t/concise.t....................FAILED 32-38
>     ../ext/B/t/optree_check.t...............FAILED 2-3 5 16 18-20 22-25
>     ../ext/B/t/optree_concise.t.............FAILED 2-3 6-11 20-24
>     ../ext/B/t/optree_samples.t.............FAILED 3-7 9-10 12
>     ../ext/B/t/optree_sort.t................FAILED 2 4 6 8 10-11
>     ../ext/B/t/optree_varinit.t.............FAILED 2-5 10-12 16-18

These are failing because of this in Concise.pm:

	# in 5.8+, open(FILEHANDLE,MODE,REFERENCE) writes to string
	open my $tmp, '>', $handle;	# but cant re-set an existing filehandle

Which with stdio, gives the error

    Can't open a reference at ../lib/B/Concise.pm line 111.

Do we still support Perls built with -Uuseperlio? If not should we stop
smoking for it? Or if we do still support it, should we amend the test
script to skip these tests under stdio, or try to 'fix' Concise.pm not to
use this feature?

Dave.

-- 
The Enterprise is involved in a bizarre time-warp experience which is in
some way unconnected with the Late 20th Century.
    -- Things That Never Happen in "Star Trek" #14

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About