Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

RE: RE: RE: Re: Using backticks with (mount):

by tye (Sage)
on Jul 18, 2000 at 20:48 UTC ( [id://23023]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: Re: Using backticks with (mount):
in thread Using backticks with (mount):

No, it isn't random. Yes, you shouldn't depend on it.

In this case, I'm willing to bet that Perl has code that tries to seek, perhaps to more portably flush buffers. It is perfectly acceptable to try to seek and then see whehter or not it worked in order to tell if you happen to have a file handle to a stream that supports seeking.

$! actually starts out as zero in a new process (no, I don't think this is guarenteed anywhere) but quickly gets changed when something deep in the guts of some library does something that fails.

And indeterminate means it could be undef or "Illegal seek" or anything else.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found