Skip Menu |

This queue is for tickets about the Roman CPAN distribution.

Report information
The Basics
Id: 86937
Status: open
Priority: 0/
Queue: Roman

People
Owner: Nobody in particular
Requestors: ram.geva [...] ecitele.com
Cc:
AdminCc:

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



Subject: Module doesn't work for values greater than 3999
perl version is: This is perl 5, version 18, subversion 0 (v5.18.0) built for MSWin32-x64-multi-thread the problem is that if I use the command Roman of this Module on a numeric number greater than 3999 I get no value. The error is on an uninitialized value because Im trying to print the result of the command. I attach the script I use with this Module.
Subject: Exercise12.1.1.pl
#! C:\strawberry\perl\bin\perl.exe use strict; use warnings; use Roman; print "please enter any numeric number:"; my $numeric = <>; chomp $numeric; my $roman = Roman($numeric); print "The numeric $numeric is $roman in Roman";
On 2013-07-15 03:56:40, RamGeva wrote: Show quoted text
> perl version is: > This is perl 5, version 18, subversion 0 (v5.18.0) built for MSWin32- > x64-multi-thread > the problem is that if I use the command Roman of this Module on a > numeric number greater than 3999 I get no value. > The error is on an uninitialized value because Im trying to print the > result of the command. > I attach the script I use with this Module.
Actually this is mentioned in the BUGS section of the Pod. BUGS Domain of valid Roman numerals is limited to less than 4000, since proper Roman digits for the rest are not available in ASCII. Wikipedia explains how large numbers can be represented with Roman numerals: http://en.wikipedia.org/wiki/Roman_numerals#Large_numbers This would required the use of non-ASCII unicode characters. Regards, Slaven
Subject: Re: [rt.cpan.org #86937] Module doesn't work for values greater than 3999
Date: Sun, 18 Aug 2013 13:00:12 +0000
To: Slaven_Rezic via RT <bug-Roman [...] rt.cpan.org>
From: Ram Geva <Ram.Geva [...] ecitele.com>
Ok thank you very much Sent from my iPhone On Aug 18, 2013, at 13:15, "Slaven_Rezic via RT" <bug-Roman@rt.cpan.org<mailto:bug-Roman@rt.cpan.org>> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=86937 > On 2013-07-15 03:56:40, RamGeva wrote: Show quoted text
> perl version is: > This is perl 5, version 18, subversion 0 (v5.18.0) built for MSWin32- > x64-multi-thread > the problem is that if I use the command Roman of this Module on a > numeric number greater than 3999 I get no value. > The error is on an uninitialized value because Im trying to print the > result of the command. > I attach the script I use with this Module.
Actually this is mentioned in the BUGS section of the Pod. BUGS Domain of valid Roman numerals is limited to less than 4000, since proper Roman digits for the rest are not available in ASCII. Wikipedia explains how large numbers can be represented with Roman numerals: http://en.wikipedia.org/wiki/Roman_numerals#Large_numbers This would required the use of non-ASCII unicode characters. Regards, Slaven This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete the original and all copies thereof.