Aye, that's been a nice demonstration of how to approach a dubious problem with too few information. Really!
So don't consider this message as an answer to your post, but more like an addendum: On Thu, Apr 25, 2002 at 08:03:30PM +0100, Jonathan E. Paton wrote: > > Hang on... did I miss something... what exactly is a S-plus script? Maybe > you should allow for the "I've never heard program X" problem by providing a > link. I'm sorry, but I have no idea what it is, but on this occasion google > helped: > > http://www.google.com/search?hl=en&q=%2B%22S-plus%22 > > Now, it looks too complicated to approach it from a "Lets see how it works" > prespective - so we move onto the error message. One addition. Try http://www.google.com/search?q=s-plus+perl instead. The first link "S-Poetry" will lead you to the information that S and S-Plus have an interface to perl. The 4th link will tell you ---------- snip ---------- S-plus is an extremely powerful object-oriented statistical programming language/environment ---------- snip ---------- Basically we haven't found out anything about how to solve our problem, but now we can be pretty sure that we're really dealing with perl here. > > "setruid( ) not implemented at sdos.pl lone 10". > > I'm not sure what this means > > The script is broken hearted as some vital OS feature (?) is missing. Now > lets try and find the cause of the pain. If I'm not mistaken, you should > ask them to fix the typo too. Not necessary... > > and I couldn't find it in any of the Perl books that I have. > > perldoc perl That one's good... > perldoc -f open But I still don't know why you looked there... I'd tried perldoc POSIX instead (and nope, you won't find anything there :-) > gets you there faster! Okay, not book replacements but they really help. > Neither my unix manpages nor perl's documentation, so it's back to google > for a last ditch effort: > > http://www.google.com/search?hl=en&q=%2Bsetruid > > and you'll notice that it is a Unix program/function... > > > I'm running ActivePerl 5.6 on a Windows 98 system. Ok, you're there. Just to give you the final answer on where that call most probably comes from: Perl doesn't have a setruid function, but if you look at the name and perhaps the system's man page you'll learn that the call SETs the Real UserID which perl does by assigning a value to $< or when 'USEing English' $REAL_USER_ID That's one of the things one just has to know to know them :-) but perldoc perltoc could have hinted to the solution. perltoc is always my fallback if I don't find any information where I expected it, but you'll have to do some more generic searches in the page like '/real.*user' or '/user.*id' since you wouldn't know if it's 'user-id', 'userid' or 'user-id'... BTW: Searching for 'setruid' in 'perltoc' will lead to "d_setruid" in 'perldoc Config' which at least would hint to the fact that this call might or might not be compiled in. -- If we fail, we will lose the war. Michael Lamertz | +49 221 445420 / +49 171 6900 310 Nordstr. 49 | [EMAIL PROTECTED] 50733 Cologne | http://www.lamertz.net Germany | http://www.perl-ronin.de -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]