Hello, Is there a way by which I can change my userid in Pause account. Now,I am registered as jpriyal but due to some requirements want to change it.
Also I made changes in my module on 20th May, http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf but when I am trying to install using 'cpan Net::Netconf' its giving error: root@priyal:/usr/local/share/perl/5.14.2# cpanm Net::Netconf --> Working on Net::Netconf Fetching http://search.cpan.org/CPAN/authors/id/J/JP/JPRIYAL/Net-Netconf-0.01.zip ... OK ! Bad archive: [ testing: Net-Netconf-0.01/CHANGES OK] Net-Netconf-0.01.zip ! Failed to unpack Net-Netconf-0.01.zip: no directory ! Failed to fetch distribution Net-Netconf-0.01 Kindly help. Thanks Regards Priyal -----Original Message----- From: David Golden [mailto:x...@xdg.me] Sent: Thursday, May 15, 2014 7:31 PM To: Priyal Jain Cc: modules@perl.org Subject: Re: FW: Failed: PAUSE indexer report JPRIYAL/NET-NETCONF.zip Hi, Priyal. Once files are uploaded to CPAN, they are immutable. You have to upload a new distribution with edited files to CPAN. You seem to have a lot of questions and modules@perl.org is not a general help forum. Please take your future questions to any of these places: * Perl Monks: http://perlmonks.com/ * StackOverflow: http://stackoverflow.com/questions/tagged/perl * Perl beginners mailing list: http://learn.perl.org/faq/beginners.html * IRC: irc.perl.org channel #perl-help Any of those places will be able to help you further. Regards, David On Thu, May 15, 2014 at 6:24 AM, Priyal Jain <jpri...@juniper.net> wrote: > Hello, > > I have uploaded my module Net::Netconf in cpan, but now I want to make some > changes in some of the files as they are not behaving as expected. I am > trying to make changes from "Edit Module Metadata" link, but its saying no > module registered under my name. Kindly help me, how can I edit and upload > modified file in cpan. > > Also "Bundle::Expect" is one of the dependency of my module that I mentioned > in Makefile.Pl along with other dependencies. But its giving error. Is there > some problem with this module or I have to mention dependency somewhere else. > > My complete module is here > http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf > > > Thank You, > Regards > Priyal Jain > > -----Original Message----- > From: Priyal Jain > Sent: Friday, May 02, 2014 10:27 AM > To: David Golden > Cc: netconf-support > Subject: RE: Failed: PAUSE indexer report JPRIYAL/NET-NETCONF.zip > > Hello, > > Thank you so much for your help. Will update the module as suggested. > > Thank You, > Regards > Priyal Jain > > -----Original Message----- > From: David Golden [mailto:x...@xdg.me] > Sent: Wednesday, April 30, 2014 7:55 PM > To: Priyal Jain > Cc: netconf-support; modules@perl.org > Subject: Re: Failed: PAUSE indexer report JPRIYAL/NET-NETCONF.zip > > Hi, Priyal. > > I'll answer your questions the best I can. > > On Wed, Apr 30, 2014 at 8:41 AM, Priyal Jain <jpri...@juniper.net> wrote: >> I am registering for namespace NET::NETCONF, for uploading a new module in >> CPAN, but I have confusion in selecting support-level. I want users to >> contribute to this module, but it should be under Juniper Networks >> supervision. Juniper Networks will provide all the maintenance of this >> module. Kindly help me in selecting appropriate support-level option. > > You don't need to register the namespace. Namespace registration is in the > process of being deprecated. Just document your support intent in your > module documentation and upload your distribution. > >> Also I was trying to upload my module in CPAN without registering, but I got >> below mail. I am not getting why it is giving failure. Kindly help me in >> resolving this issue. > > In looking at your distribution, I see several "problems" that you might want > to address. First, your distribution naming is not consistent with typical > Perl conventions. For a module Foo::Bar with version 1.23, you would ship a > tarball called Foo-Bar-1.23.tar.gz containing the directory Foo-Bar-1.23. > That directory should contain your Makefile.PL, a lib directory containing > your .pm files and so on. > > The error message you saw is because you uploaded NET-NETCONF and you don't > have a NET::NETCONF package in your distribution. > > My suggestions: > > In your Makefile.PL, set the 'NAME' parameter to "Net-Netconf". Then, add > lib/Net/Netconf.pm that contains the "package Net::Netconf" > statement. That top-level .pm file will claim the Net::Netconf namespace for > you and will allow you to upload a tarball starting with "Net-Netconf". It > is also a good place to put introductory documentation, support information, > etc. > > It doesn't have to have any real code. E.g.: > > package Net::Netconf; > our $VERSION = '0.01'; > 1; > > =head1 NAME > > Net::Netconf -- Netconf Perl client > > =head1 SYNOPSIS > ... etc ... > > Then, use your Makefile.PL to generate your tarball for upload: > > perl Makefile.PL > make > make test > make dist > > Looking at the Makefile.PL, I see some other things that might go awry, but I > don''t have time to diagnose all of them for you. I suggest finding a good > resource on shipping modules to CPAN and following the guidelines there. The > latest edition of Intermediate Perl by brian d foy includes a very good > chapter on the subject and I encourage you to read it. > > I hope this helps. > > Regards, > David Golden > PAUSE Admin for IDs -- David Golden <x...@xdg.me> Twitter/IRC: @xdg