Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Testing for read() failures on different platforms

by hbo (Monk)
on Jul 27, 2004 at 05:35 UTC ( #377661=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Testing for read() failures on different platforms
in thread Testing for read() failures on different platforms

I assume it's the same on both platforms, then? What happens if you set it to "C"?

How about the modules involved? All the same versions? Can you use the same version of Perl, preferably from the same source tree and with build options as similar as possible? This is just the standard troubleshooting checklist that I never resort to unless I can't solve a problem through dumb luck and/or inspiration. 8)

"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers


Comment on Re^3: Testing for read() failures on different platforms
Re^4: Testing for read() failures on different platforms
by leriksen (Curate) on Jul 27, 2004 at 06:06 UTC
    Actually it is C on Solaris. Setting it to C on Linux makes no difference.

    Yes it is possible to set the two platforms to the same version of Perl, but I dont think that will help. I think the difference is due to the OS's, not the Perl versions (which only differ by point releases, not a significant difference)

    I guess what I'm looking for is something more robust than trying a failing read with dirhandles - that's what I am looking for sugestions on.

    +++++++++++++++++
    #!/usr/bin/perl
    use warnings;use strict;use brain;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://377661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-09-16 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (14 votes), past polls