[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl?



On Tue, Jul 11, 2000 at 06:51:09AM -0500, Steven Pritchard wrote:
> Danny Sauer said:
> > Are there any distribs that you know of which are using Perl 5.6 as the
> > standard yet?
> 
> Not that I know of.  It's in Red Hat's Rawhide (7.0 beta) tree
> (ftp://ftp.redhat.com/pub/rawhide/) though...  (Admittedly, I haven't
> really looked around much.)
> 
> Perl 5.6, much like 5.005, is going to be much more interesting to the
> Windows Perl people, since it is now that much closer to "real" Perl.
> (They have fork() now!)

I'm still trying to figure out where it gets the PID's it uses, though...

Linux:
sauer@pyro:~ > perl -e 'print "$$\n";print fork(), "\n";'
1319
1320
0
sauer@pyro:~ > perl -e 'print "$$\n";print fork(), "\n";'
1321
1322
0


Windows 98:
C:\WINDOWS\Desktop>perl -e "print $$, \"\n\"; print fork(), \"\n\";"
-4135235
4178007
0

C:\WINDOWS\Desktop>perl -e "print $$, \"\n\"; print fork(), \"\n\";"
-4135235
4178007
0

At least the zero makes sense... :)

--Danny, who assumes that's the console's PID since it doesn't change
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.