develooper Front page | perl.perl5.porters | Postings from September 2003

Re: How to detect hash randomization?

Thread Previous
From:
Elizabeth Mattijsen
Date:
September 8, 2003 03:00
Subject:
Re: How to detect hash randomization?
Message ID:
p05111b04bb8202b7aef9@[192.168.56.4]
At 09:35 +0000 9/8/03, slaven@rezic.de wrote:
>require IO::Pipe;
>my $pipe = IO::Pipe->new->reader($^X, "-V:ccflags");
>my $ccflags = <$pipe>;
>$pipe->close;

Is this a new, improved idiom for open $handle, "program |" ?  How 
will this run on let's say, 5.6.0 or 5.00503 ?  But I guess this 
question is moot as I don't run anything if < 5.8.1.

So is this the new "best" way to do this?

Some days I learn more than 1 thing  ;-)


Liz

Thread Previous


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