orokro / Classetta

Classetta.com Multi-language class generator
0 stars 0 forks source link

Perl: Notes between =cut and package #4

Closed medthehatta closed 9 years ago

medthehatta commented 9 years ago

In the comments section at the beginning, some #-style comments are smashed in beneath the POD. Why not include those comments inside the POD =begin comment .. =cut?

=begin comment
    Warning! The following Perl code is automatically generated and may contain errors.
[ .. snip .. ]
    Warning! Perl doesn't support Static Methods! Declaring as regular Methods instead.
=cut
# NOTE: Perl doesn't have syntax for definging a class. This code belongs in a file called: "ThoroughDemo.pm".
# ALSO NOTE: Nobody should use Perl for anything, ever.
package ThoroughDemo;

use strict;
use warnings;
orokro commented 9 years ago

Fixed by overriding the buildCode_Warnings superclass method with a custom one in the perl generator.

medthehatta commented 9 years ago

Do the closed bugs have associated checkins? Or one checkin which fixes multiple issues perhaps?

medthehatta commented 9 years ago

Nice