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

Why is perl-5.6 unthreaded?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Is there a reason that perl-5.6 isn't threaded?  I know that there's
perl-5.6-thread, but why a separate package?  Makes things annoying for
writing programs that need to use Thread - if you put #!/usr/bin/perl then
either Debian users will have to modify that bit, or you need to have an
option in the config file to specify an alternate perl binary to use.  Or
a kludge like:

eval {
	use Thread 'async';
}

exec("/usr/bin/perl-thread", $0, @ARGV) if $@ and -x /usr/bin/perl-thread;


What about #! in general?  Why #!/usr/bin/perl and not #!perl?
/usr/local/bin is a common place for perl, and there are many other
possibilities as well.  Wherever perl is it should generally be in the
path (and /usr/bin certainly should be!) but I usually see an explicit
path in the #! line.

- -- 
Matthew Sachs	matthewg@zevils.com	http://www.zevils.com/
GPG key: 0x600A0342	PGP key: 0x93EA1151	Finger for plan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Made with pgp4pine

iD8DBQE6H1BalocTNGAKA0IRAgvPAKDfUooZQtLvcbMk+XbrOtfWm3lQNgCePltj
+6XOfESeak9v46Kxr8mGtDY=
=4ouY
-----END PGP SIGNATURE-----



Reply to: