nutshell has asked for the wisdom of the Perl Monks concerning the following question:
And of course - new can be called in many different ways:
And a second example:my $fun = new CX::Lique( name => 'Test Addon', 'author'=> 'nutshell', email => 'x@x.com', descrip => 'That', version => '1.1', build => 2 );
my $q = CX::Lique->new( name => 'Test', 'author'=> 'yeehaw', 'email' => 'yeehaw@yahoo.com', descrip => 'Fun', version => '1.11', build => 2 );
So basically once the regex is done reading/processing $code - $info will look something like (if it processed the first example I showed above):
Good luck and thanks in advance! --nutshell$info = { 'name' => 'Test Addon', 'author'=> 'nutshell', 'email' => 'x@x.com', 'descrip' => 'That', 'version' => '1.1', 'build' => 2 }
|
|---|