Skip Menu |

This queue is for tickets about the Class-Std CPAN distribution.

Report information
The Basics
Id: 15913
Status: resolved
Priority: 0/
Queue: Class-Std

People
Owner: Nobody in particular
Requestors: leif.eriksen [...] hpa.com.au
Cc:
AdminCc:

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



Subject: Minor doco bug in Synopsis section
In the Synopsis section, the example code is $snum{$obj_ID} = check_name( _gen_uniq_serial_num() ); which seems to imply that serial numbers are validated by check_name. I think the example should be $snum{$obj_ID} = check_snum( _gen_uniq_serial_num() ); or just $snum{$obj_ID} = _gen_uniq_serial_num();
Date: Fri, 18 Nov 2005 12:28:04 +1100
From: Damian Conway <damian [...] conway.org>
To: bug-Class-Std [...] rt.cpan.org
Subject: Re: [cpan #15913] Minor doco bug in Synopsis section
RT-Send-Cc:
Show quoted text
> In the Synopsis section, the example code is > > $snum{$obj_ID} = check_name( _gen_uniq_serial_num() ); > > which seems to imply that serial numbers are validated by check_name. > > I think the example should be > > $snum{$obj_ID} = check_snum( _gen_uniq_serial_num() ); > > or just > > $snum{$obj_ID} = _gen_uniq_serial_num();
Fixed, thanks! Damian