Re: DBD::Oracle

Yanick Champoux <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On 02/10/12 09:30, Charles Jardine wrote:
>> >  t/10general.t ............ Dubious, test returned 2 (wstat 512, 0x200)
> This symptom indicates that the system built-in function is not working.
>
> Try
>
>   perl -e 'print system("exit 1;"), "\n"'

     Hmmm... The test that is failing is

is system("exit 1;"), 1<<8, 'system exit 1 should return 256';

     which should be okay, but I'm suddenly thinking: on some shells 
'exit' might not do what we would expect. Indeed, I just tried:

$ perl -E'say system "exit 1"'
-1

     And yet the tests usually pass on my machine. I have to look at 
that in more details...

Joy,
`/anick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.