Thank you for writing me back.Thank you for the links.



      From: David Golden <x...@xdg.me>
 To: Timothy Fletcher <swm32yrs1...@yahoo.com> 
Cc: "modu...@cpan.org" <modu...@cpan.org>
 Sent: Thursday, February 18, 2016 7:01 AM
 Subject: Re: Trying to write my first pm file.
   
Hi, Timothy.

This isn't really the right list for your question, but let me suggest some 
resources nonetheless.  :-)

* http://search.cpan.org/~shay/perl-5.22.1/pod/perlnewmod.pod
* http://www.perlmonks.org/index.pl?node_id=431702
* 
http://blogs.perl.org/users/phillip_smith/2011/03/writing-perl-modules-for-cpan.html

And the 2nd edition of Intermediate Perl has a very good chapter on the subject.

Regards,
David


On Wed, Feb 17, 2016 at 7:28 PM, Timothy Fletcher via modules 
<modules@perl.org> wrote:

Hi,
Trying to write my first pm file for cpan.
And well, reading the example suggest to look at;
http://search.cpan.org/~muir/Text-Tabs%2BWrap-2013.0523/lib.old/Text/Tabs.pm

SYNOPSIS 
  use Text::Tabs;

  $tabstop = 4;  # default = 8
  @lines_without_tabs = expand(@lines_with_tabs);
  @lines_with_tabs = unexpand(@lines_without_tabs);

they don't match the source.

=head1 SYNOPSIS

        use File::Copy;

        copy("sourcefile","destinationfile") or die "Copy failed: $!";
        copy("Copy.pm",\*STDOUT);
        move("/dev1/sourcefile","/dev2/destinationfile");

        use File::Copy "cp";

        $n = FileHandle->new("/a/file","r");
        cp($n,"x");

Other than your example pages, Oreilly book of swimming of perl( flipping pages 
for ever ) is there step by step process example, for why and what?

-Tim




-- 
David Golden <x...@xdg.me> Twitter/IRC/Github: @xdg

  

Reply via email to