in reply to Re: new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }
in thread new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }

The first thing that I have made was to test Perl6::Classes, but it doesn't work, since is bery easy to crash it! Soo, I started to write one, and found a lot of things that you have to made to avoid errors on Filter::Simple, specially whe you are working with quotes and comments (comments are not parsed on Filter::Simple).

For now I have a stable code, and have tested with a lot of modules, and some classes writed on it.

Note that I'm using some extra things in my module, like the input arguments and html blocks. Note that the idea is not to work with Perl6 concepts, and just have an easier way to declare classes in pure Perl5.

I'm still looking for a name...

Graciliano M. P.
"Creativity is the expression of the liberty".

  • Comment on Re: Re: new Class:: module to declare classes in Perl in the popular way: class foo extends bar { sub x($var){..} }