Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

info on anonymous packages in perl-5.12.0 needed

by sergstesh (Novice)
on Apr 29, 2010 at 19:27 UTC ( [id://837631]=perlquestion: print w/replies, xml ) Need Help??

sergstesh has asked for the wisdom of the Perl Monks concerning the following question:

I've been performing WEB search on perl-5.12.0 anonymous packages (the release announcement says it supports them), but couldn't find anything relevant.

I also looked for the info at perldoc.perl.org .

Does anybody have concrete pointers ?

Thanks,
Sergei.

Replies are listed 'Best First'.
Re: info on anonymous packages in perl-5.12.0 needed
by FunkyMonk (Chancellor) on Apr 29, 2010 at 19:38 UTC
    the release announcement says it supports them
    Are you sure?

    When I search the release announcement for "package", I find exactly three hits in two lines:

    • New syntax allows developers to specify package version numbers directly in "package" statements
    • As specified in the licenses for Perl (see the files named Artistic or Copying in the Perl distribution), THIS PACKAGE IS PROVIDED WITH ABSOLUTELY NO WARRANTY.

      Yes, I am sure. For example, http://freshmeat.net/projects/perl#release_315792 :


      "
      Changes: This release introduces several new features, such as caller(), anonymous packages, named parameters, the Yada Yada operator, and pluggable keywords.
      "
        I think that whoever wrote the summary for freshmeat was mis-informed. In the official announcement I don't find anything like that, neither in the perl5120delta document, the tests or even the commit messages of the git repository.
        Perl 6 - links to (nearly) everything that is Perl 6.
Re: info on anonymous packages in perl-5.12.0 needed
by webfiend (Vicar) on Apr 30, 2010 at 16:25 UTC

    I did a little searching, and did find a proposal from 2008 about anonymous packages for 5.11/5.12. It doesn't look like anything came from that proposal, though. Whoever originally posted about anonymous packages being a new feature seems to have been misinformed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://837631]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found