Skip Menu |
 

This queue is for tickets about the Apache-Language CPAN distribution.

Report information
The Basics
Id: 7485
Status: new
Priority: 0/
Queue: Apache-Language

People
Owner: Nobody in particular
Requestors: peter.mueller [...] elimpex.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Possibly typing error in function prototype
Download (untitled) / with headers
text/plain 1.1k
It seems that there is a typing error in Language.pm the function prototype for DefaultLanguage has a ":" insted of a ";" At least in my constellation perl complains this as an error. BUT - on SuSE Linux 8.1 - using the same perl version - this line is not flagged as an error !?! diff and Version information follows: Show quoted text
--- cut here ---
> diff Language.pm Language.pm.org
458c458 < sub DefaultLanguage($$$;*){ ---
> sub DefaultLanguage($$$:*){
--- cut here --- Package: Apache::Language Version 0.14 OS: Sun Solaris 2.6, also known als SunOS 5.6 Perl: 5.8.5
--- cut here ---
> uname -a
SunOS sandra 5.6 Generic_105181-39 sun4u sparc SUNW,Ultra-1 Solaris
> perl -v
--- cut here --- This is perl, v5.8.5 built for sun4-solaris Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.