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

[MacPerl] CGI.PM (Was Recommendations on how to port a MacPerl)



To Alex: Your welcome!  :-)

Anyway, I was looking through the latest release of
CGI.pm.  (At least I think it is the latest release - I
could be wrong.)  And I noticed the following:

	.
	.
	.
	elseif( $OSNAME=~/Mac/i){
	.
	.
	.

And was wondering (since we just recently went through a
whole discussion about the pros and cons of using "=~"
versus "eq") if the author could be contacted and asked to
change these IF-ELSEIF-ELSE statements to

	.
	.
	.
	elseif( $OSNAME eq "MacOS" ){
	.
	.
	.

???????????

Ok - you may be wondering "Why is he posting here and not
e-mailing the guy?"  Well, two reasons - one) I haven't
found an e-mail address in the source yet (ie: I probably
missed it), and two) This does pertain to people using
CGI.pm on the Mac via MacPerl.  :-)

Also, I do not know if this is against any coding rules for
modules for Perl.  So if it's not then never mind.  :-)

I'm using version 2.37b4 (if I remember correctly).

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch