f



Creating Perl Modules

Does anyone know of any step by step (or as easy) tutorials for creating a
perl module?

Type of modules that don't use EXPORTER.

I can't afford anymore perl books at the moment so don't give me those
suggestions please. I just need some sites.

-- 


----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com


0
10/2/2003 8:35:19 AM
comp.lang.perl.modules 4194 articles. 0 followers. jerrykrinock (6) is leader. Post Follow

7 Replies
605 Views

Similar Articles

[PageSpeed] 28

Doc wrote:
> Does anyone know of any step by step (or as easy) tutorials for creating a
> perl module?
> 
> Type of modules that don't use EXPORTER.
> 
> I can't afford anymore perl books at the moment so don't give me those
> suggestions please. I just need some sites.

Please read the following:
perldoc perltoot
perldoc perlmod
perldoc perlnewmod
perldoc perlmodlib

And then choose some reasonably simple module from CPAN (or better yet: 
 From the perl distribution on your hard drive) and look at what the 
author's done.

Steffen
-- 
@n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;

0
sv99oya02 (21)
10/2/2003 9:25:07 AM
Steffen M�ller wrote:
> Doc wrote:
> 
>> Does anyone know of any step by step (or as easy) tutorials for 
>> creating a
>> perl module?
>>
>> Type of modules that don't use EXPORTER.
>>
>> I can't afford anymore perl books at the moment so don't give me those
>> suggestions please. I just need some sites.
> 
> 
> Please read the following:
[...]

Oh hell! I forgot to mention "perldoc perlmodstyle" which was added 
somewhen *after* I got my latest release of perl. (Which is still 5.6.1.)

Steffen
-- 
@n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;

0
sv99oya02 (21)
10/2/2003 9:28:37 AM
Ok. Maybe I should exclude any references to perldoc as well.

#1. No tutorials that teach how to use exporter for new modules.
#2. No Book references.
#3 No perldoc or manpage references.

-- 


----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com

"Steffen M�ller" <sv99oya02@sneakemail.com> wrote in message
news:blgr3k$o6e$2@news.rz.uni-karlsruhe.de...
> Steffen M�ller wrote:
> > Doc wrote:
> >
> >> Does anyone know of any step by step (or as easy) tutorials for
> >> creating a
> >> perl module?
> >>
> >> Type of modules that don't use EXPORTER.
> >>
> >> I can't afford anymore perl books at the moment so don't give me those
> >> suggestions please. I just need some sites.
> >
> >
> > Please read the following:
> [...]
>
> Oh hell! I forgot to mention "perldoc perlmodstyle" which was added
> somewhen *after* I got my latest release of perl. (Which is still 5.6.1.)
>
> Steffen
> -- 
> @n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
> 1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
> ;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
> 0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;
>


0
10/2/2003 2:39:40 PM
Doc wrote:

> Does anyone know of any step by step (or as easy) tutorials for creating a
> perl module?
> 

www.perlmonks.org, in the tutorials section.

> Type of modules that don't use EXPORTER.

I guess you mean objects. Same place, look for Object-Oriented-Perl.

0
10/2/2003 3:34:35 PM
Doc wrote:
> Ok. Maybe I should exclude any references to perldoc as well.
> 
> #1. No tutorials that teach how to use exporter for new modules.
> #2. No Book references.
> #3 No perldoc or manpage references.

Oh well. The docs that come with Perl were enough for *me* to learn 
writing modules when I was still green behind the ears in respect to 
writing Perl modules. What's wrong with them? Books aren't expensive 
either (Object oriented Perl by D.Conway is very good).

So you don't want to export functions to other namespaces. I gather that 
you either want your functions to be accessible globally as 
Module::function() (which is straightforward!) or object oriented Perl.

On object oriented Perl: Again, there's some docs that come with Perl. 
perltoot, perlboot, perlobj, and more. Most importantly, have a look at 
'perldoc -f bless'.

This is no rocket science. perldoc.com has the documentation in nicely 
formatted HTML. Since Perl 5.8.0, there've been lots of tutorials 
included that I don't know about because I was past the tutorials when 
5.8 came out. Scan through those.

Steffen
-- 
@n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;

0
sv99oya02 (21)
10/2/2003 6:40:37 PM
Hello,

 i was talking about like $dbh->do. i believe it is OO Perl. From what Ive
read (perldocs and camel), modules with Exporter don't use OO. I like the OO
design and look.

-- 


----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com

"Steffen M�ller" <sv99oya02@sneakemail.com> wrote in message
news:blhrel$ibe$1@news.rz.uni-karlsruhe.de...
> Doc wrote:
> > Ok. Maybe I should exclude any references to perldoc as well.
> >
> > #1. No tutorials that teach how to use exporter for new modules.
> > #2. No Book references.
> > #3 No perldoc or manpage references.
>
> Oh well. The docs that come with Perl were enough for *me* to learn
> writing modules when I was still green behind the ears in respect to
> writing Perl modules. What's wrong with them? Books aren't expensive
> either (Object oriented Perl by D.Conway is very good).
>
> So you don't want to export functions to other namespaces. I gather that
> you either want your functions to be accessible globally as
> Module::function() (which is straightforward!) or object oriented Perl.
>
> On object oriented Perl: Again, there's some docs that come with Perl.
> perltoot, perlboot, perlobj, and more. Most importantly, have a look at
> 'perldoc -f bless'.
>
> This is no rocket science. perldoc.com has the documentation in nicely
> formatted HTML. Since Perl 5.8.0, there've been lots of tutorials
> included that I don't know about because I was past the tutorials when
> 5.8 came out. Scan through those.
>
> Steffen
> -- 
> @n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
> 1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
> ;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
> 0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;
>


0
10/3/2003 3:27:26 AM
Doc wrote:
> i was talking about like $dbh->do. i believe it is OO Perl. From what
> Ive read (perldocs and camel), modules with Exporter don't use OO. I
> like the OO design and look.

That's a method call on a (blessed reference or) object and very much OO.


 From perlobj:
SEE ALSO
  A kinder, gentler tutorial on object-oriented programming in
  Perl can be found in the perltoot manpage, the perlbootc manpage
  and the perltootc manpage. You should also check out the perlbot
  manpage for other object tricks, traps, and tips, as well as the
  perlmodlib manpage for some style guides on constructing both
  modules and classes.

So, you'll find these as HTML at:
http://perldoc.com/perl5.8.0/pod/perlobj.html
http://perldoc.com/perl5.8.0/pod/perltoot.html
http://perldoc.com/perl5.8.0/pod/perlbootc.html
http://perldoc.com/perl5.8.0/pod/perltootc.html
http://perldoc.com/perl5.8.0/pod/perlbot.html
http://perldoc.com/perl5.8.0/pod/perlmodlib.html

It won't get any easier than that.

Steffen
-- 
@n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232,
1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g
;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse
0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p;

0
sv99oya02 (21)
10/3/2003 10:41:22 AM
Reply:

Similar Artilces:

perl sub and perl modules
Hi all, I am new in perl and I am having some difficulties in getting used to it. I have an array of array: my @hap = ( [qw/ a c g t g c/], [qw/ c g ? t a g/], [qw/ a c t t ? c/]); and as during the process I will need to print how this evolves during the process, I tried to place a print sub: sub MyPrint { my (@arr) =@_; for my $i (0..$#arr){ for my $j (0..$#{$arr[$i]}){ print $arr[$i][$j]."\t"; } print "\n"; } } if I call my print as reference: MyPrint(\@hap); I get: ARRAY(0x541c) ARRAY(0x7b944) ...

Perl Modules in PL/Perl functions
Hello, I want to use Mail::Sender in a PL/Perl function. In order to use the Mail::Sender module, do I simply use a 'use' statement in the function definition (i.e. "use Maile::Sender;")? Regards, Charles ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match Only if Perl has been installed as an untrusted language I believe. See http://www.postgresql.org/docs/7.4/static/plperl-trusted.html On Fri, 2004-07-09 at 11:22, Haron, Charles wrote: > Hello, > > I want to use Mail::Sender in a PL/Perl function. In order to use the > Mail::Sender module, do I simply use a 'use' statement in the function > definition (i.e. "use Maile::Sender;")? > > Regards, > Charles > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings ...

Perl Modules in PL/Perl functions
Hello, I want to use Mail::Sender in a PL/Perl function. In order to use the Mail::Sender module, do I simply use a 'use' statement in the function definition (i.e. "use Maile::Sender;")? Regards, Charles ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match Only if Perl has been installed as an untrusted language I believe. See http://www.postgresql.org/docs/7.4/static/plperl-trusted.html On Fri, 2004-07-09 at 11:22, Haro...

how can i convert my perl script to be a perl module?
Hello, how can i convert my perl script to be a perl module? Have i just rename it to log2db.pm ? #log2db.pl use DBI; use File::Tail; my $fname = $ARGV[0]; #$fname = '/var/log/syslog'; my $host = $ENV{'HOSTNAME'}; my $dbh = DBI->connect("DBI:mysql:database=testdb;host=rettung", "log4", "l12345", {'RaiseError' => 1}); my $table = 'log4perl'; my @fields = qw( log_timestamp level1 method message ); my $fields = join(', ', @fields); my $sql = "INSERT into $table ($fields) values (?,?,?,?)"; my $sth = $dbh->p...

Converting a perl module to a python module would it be worth it?
Hi All, I am the current author of the Astro-Sunrise perl module http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm and was wondering if it would be worth while to convert it to python. First off, I have never programmed in python. I would like to use this project to learn python. I was wondering if there was a "How to program python for perl programmers" Kinda like what is different between the two, pitfalls for perl programmers and what not. Another question is, if I do this where can I put the results? As far as I know python has no "CPAN". Thanks in advance. Mothra Mothra wrote: > Hi All, > > I am the current author of the Astro-Sunrise perl module > http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm > and was wondering if it would be worth while to convert it to python. Only you and your module's users may tell... > First off, I have never programmed in python. I would like to use > this project to learn python. Well, this might be an answer to your first question !-) > I was wondering if there was a > "How to program python for perl programmers" > Kinda > like what is different between the two, pitfalls for perl programmers > and what not. http://www.hackdiary.com/slides/lpw2004/ http://starship.python.net/crew/aahz/OSCON2002/ http://mail.python.org/pipermail/python-list/2004-September/241757.html http://pleac.sourceforge.net/ Google is your friend, as usual... Note...

Best or the-module-you-use to list installed Perl modules ?
What's the best cgi Perl module to list installed Perl modules ? Or, since "best" doesn't have a real sense : what's the module you use to list all the installed module on the server ? I've often used PerlDiver (1.1 to 2.33), but it doesn't work in all circumstances (for example, it doesn't work, here, on a Debian and Fedora servers). In article <MPG.1fbbcd3399d7518e989900@news.tiscali.fr>, Yohan N Leder <ynl@nsparks.net> wrote: > What's the best cgi Perl module to list installed Perl modules ? Or, > since "best" doesn&#...

How Can I Install PERL Modules w/o Upgrading PERL?
Shalom! I absolutely hate it when I install a required module for one piece of software or another, and suddenly it begins installing the "latest-and-greatest" version of PERL! I effing hate it!! I'm running perl-5.005_03 and I am NOT yet ready to upgrade (and recompile software packages). So, is there a method to install these modules w/o upgrading my Perl installation? TIA!! -- JONATHAN B. HOREN UNIX SYSTEMS ADMINISTRATOR E: horen@mail.iucc.ac.il Inter-University Computation Center T: +972-(0)3-640-5203 Tel-Aviv University F: +972-(0)3-640-9118 Ramat-Aviv 69978 Israel ...

perl and modules
Do I need to rebuild all the perl modules after I upgrade my perl to a newer version? Thanks for answering my question in advance. * Tulan W. Hu <twhu@lucent.com>: > Do I need to rebuild all the perl modules after I > upgrade my perl to a newer version? It's usually best to. In most cases it's necessary. It should be immediately obvious when you try to use any of said modules. cheers, -- Iain. <http://eh.org/~koschei/> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Tulan W. Hu" <twhu@lucent.com> wrote in news:bljqrq $8va@netnews.proxy.lucent.com: > Do I need to rebuild all the perl modules after I > upgrade my perl to a newer version? > > Thanks for answering my question in advance. Sorry I couldn't answer it in advance. ;-) Usually, you need to rebuild any binary modules (ie, modules that need to be compiled with a C compiler), because most Perl releases aren't binary- compatible with previous versions. (I hear, however, that 5.8.1 is b-c with 5.8.0). For pure-perl modules, there is an option during the configure phase where you can tell the build process to retain directories from earlier perl versions in the new version's @INC, so those modules don't necessarily need to be reinstalled. - -- Eric $_ = reverse sort $ /. r , qw p ekca lre uJ reh ts p , map $ _. $ " , qw e p h tona e and print -----BEGIN PGP SIGNATURE----- Version: PGPf...

perl.modules
I'm trying to use DNS::Zoneparse to modify zone files. I'm having trouble updating the SOA record. Can anyone see what I'm doing wrong. Probably obvious to someone with more perl background then me. Here it is: use DNS::ZoneParse; my $zoneTemplateFile = DNS::ZoneParse->new("fwdTest.soa"); # Get a reference to the MX records my $templateMx = $zoneTemplateFile->mx; my %templateSOA = $zoneTemplateFile->soa; #read in file of DNS informaton. Then repeat for every record in the file # begin zone file creation # Change zone fi...

Perl modules
I�m a Tripod user. (no flames, please). Now Tripod does not give access to some modules (I need vars and strict), but ask the users to upload them to their cgi-bin directories. Where can I get them? I went to CPAN but found no way for downloading the modules. Pls help me. My Perl modules stopped working abut a month ago. Guillermo wrote: > I�m a Tripod user. (no flames, please). Now Tripod does not give > access to some modules (I need vars and strict), but ask the users to > upload them to their cgi-bin directories. Where can I get them? I went > to CPAN but found no way for downloading the modules. Try search.cpan.org. Search for your module. Scan the distribution page for "Download". It's quite hard, search.cpan.org being orange and all, but I suppose you'll make it. ;) Steffen -- @n=([283488072,6076],[2105905181,8583184],[1823729722,9282996],[281232, 1312416],[1823790605,791604],[2104676663,884944]);$b=6;@c=' -/\_|'=~/./g ;for(@n){for$n(@$_){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}reverse 0..11;push@p,map{$c[$_]}@c[reverse$b..$#c];$#c=$b-1}$p[@p]="\n"}print@p; On 25 Jul 2003 11:22:01 -0700, Guillermo <guillermo_echavarria@hotmail.com> wrote: > I´m a Tripod user. (no flames, please). Now Tripod does not give > access to some modules (I need vars and strict), but ask the users to > upload them to their cgi-bin directories. Where can I get them? I went > to CPAN but found no way for downloa...

Perl, why does the below perl module for Windows 2003, SMTP mail doesnt work?
Hi, this is the testemail.pl code with the mail server name and email address hidden, I don't see this script working online in Windows 2003 server Can someone please help. Strange is, it doesnt give any error at all. ---------------------------------------------------------------------------�----------------------------------------------- #!/usr/bin/perl -w print "Content-type: text/html\n\n"; use strict; use CGI; print " <html>\n <head>\n <title>Simple e-mail testing program</title>\n </head&...

How to create a Perl module to be used in a CGI script
Hi, I have the following: filename: Module1.pm package Module1; BEGIN { use Exporter(); @ISA = qw(Exporter); @EXPORT = qw(&subroutine1); } sub subroutine1 {print "Hello!\n";} return 1; END { } --------------------------------------------------- Filename: Trial.cgi running in Tomcat 4.1.27 #!c:\Perl\bin\perl.exe use CGI use Module1; subroutine1(); .. .. .. .. When I run the script from my html page it asks for a file download. What am I doing wrong? Thanks, James On 15 Aug 2003 10:52:03 -0700, James <jwong1@mail.arc.nasa.gov> wrote: > Hi, > ...

problem using swig to create perl module
I just downloaded swig and installed it on a solaris machine. I tried to run one of the examples and got this error message Can't load './example.so' for module example: ld.so.1: perl: fatal: relocation error: file ./example.so: symbol _ZdlPv: referenced symbol not found at /tps/global/depot/perl-5.8.5/lib/5.8.5/sun4-solaris/DynaLoader.pm line 230. at example.pm line 7 Compilation failed in require at runme.pl line 7. BEGIN failed--compilation aborted at runme.pl line 7. Any ideas how to solve this. Thanks in advance. Joe "GIJoe" <biold0@bayou.uh.edu> wrote in message > I just downloaded swig and installed it on a solaris machine. I tried > to run one of the examples and got this error message > > Can't load './example.so' for module example: ld.so.1: perl: fatal: > relocation error: file ./example.so: symbol _ZdlPv: referenced symbol > not found at > /tps/global/depot/perl-5.8.5/lib/5.8.5/sun4-solaris/DynaLoader.pm line > 230. > at example.pm line 7 > Compilation failed in require at runme.pl line 7. > BEGIN failed--compilation aborted at runme.pl line 7. > > Any ideas how to solve this. Thanks in advance. We don't see many swig questions here - and I get the impression that it's not used much by perl folks, these days. Most of us take the more usual XS approach, or use inline::C - which would be *my* recommendation on how to solve the problem. If you specifically want to use s...

Unexplained delay Module::Build + ExtUtils::MakeMaker building pure perl modules #2
On 12 nov, 15:44, Klaus <klau...@gmail.com> wrote: > I am having a problem when building pure perl modules > on Windows 7, ActiveState Perl 5.12.3. > > The module build / test / install works correctly, but > my issue is that the build process for a very simple > pure perl module (Acme::SList::Utilities in this case) > takes about 60 seconds on my Windows machine. The > Build test and Build install process work rapidly > in about 2 seconds each. I have experimented with Strawberry Perl on Windows 7 (first a 'Build clean', then a 'Build&...

Upgraded from perl 5.12.3 to 5.12.4 need to upgrade perl modules...
The modules I installed myself through cpan for perl 5.12.3 no longer work for 5.12.4, although they are still present in the site_perl/5.12.3 directory. I need an efficient way to find out exactly all the third party modules I installed for 5.12.3 and reinstall them for 5.12.4, is there some trick to do this? On May 16, 11:29=A0am, piscesboy <oraclmas...@gmail.com> wrote: > is there some trick to do this? perllocal.pod? You should find it under .../lib/5.12.3/<arch> Or smthg like that. Use find. Marc ...

creating perl binary using PAR module , execution error under unix
Hai all, I have created a perl executable application using PP,the application includes Curses:UI modules. ###Created the binary file by using the following command $pp myscript.pl ## produces the file a.out ###When I run this file by using command below $a.out ##gives the following error message Can't open Curses/UI/Language/english.pm: No such file or directory at Curses/UI/Language.pm line 96 ## I also tried to compile with -M option $PP -M Curses/UI/Language/english.pm myscript.pl ## produces the file a.out ##when running a.out it also gives the same error message. $ ldd a.out ## shows the following a.out needs: /usr/lib/libsocket.so.2 /usr/lib/libm.so.1 /usr/lib/libc.so.1 /usr/lib/libsocket.so.2 needs: /usr/lib/libresolv.so.1 using perlcc I could compile and run the program without any problem but its not portable. Help me to to comple my perl progam with PP This is perl, v5.8.0 , Curses::UI-0.96, PAR 0.977 Thanks in advance, Sibu.N.L On Mar 15, 10:06=A0pm, Sibu <sib...@gmail.com> wrote: =2E =2E > > ## I also tried to compile with -M option > > $PP -M Curses/UI/Language/english.pm myscript.pl By my reading of the pp documentation ( at http://search.cpan.org/~smueller/PAR-Packer-0.978/lib/pp.pm ), the correct way to pack Curses/UI/Language/english.pm into the executable would be: $PP -M Curses::UI::Language::english myscript.pl but I wonder if you might be better served by: $PP -M Curses::...

Essential Perl Modules
I've been developing small scripts in Perl for a while now, and would like to think that I have a pretty good grasp of the fundamentals. I've written a module for combining all the common stuff that my personal scripts have to do (e.g. generate very similar headers for all of my web pages). The big thing that I think I am missing out on is making good use of CPAN modules. I use CGI of course, and DBI for my database accesses, but not very much else. There is so much at CPAN that it would take months to go through and find everything that might be relative to what I'm doing. So, my question is, what modules do you consider to be essential for someone looking to become ever more lazy in their programming? I searched for a list of "essential Perl modules" and the closest I found was http://wellington.pm.org/archive/200105/ which is fine but looks outdated. What would you add or delete to this list? My current areas of interest are web development and system administration tools, so that casts a pretty wide net; almost anything could be considered to fall into this! -- Greg Schmidt (gregs@trawna.com) Trawna Publications (http://www.trawna.com/) * Greg Schmidt <gregs@trawna.com>: [...] > The big thing that I think I am missing out on is making good use of > CPAN modules. I use CGI of course, and DBI for my database accesses, > but not very much else. There is so much at CPAN that it would take > months to go through and find ...

Installing Perl Module
Hi, I'm not very good with figuring this wtuff out, so I'm hoping someone can offer some advice. We need to install some ability to create line charts from Perl. So, I'm trying to install DBIx::Chart. One of the requirements is to install GD 1.19. I tried installing that, but when I get to the make command I get these errors: /usr/bin/perl GD/Image.pm.PLS GD/Image.pm Extracting Image.pm (with variable substitutions) cp GD/Polyline.pm blib/lib/GD/Polyline.pm cp qd.pl blib/lib/qd.pl cp GD/Image.pm blib/lib/GD/Image.pm cp GD.pm blib/lib/GD.pm AutoSplitting blib/lib/GD.pm (blib/...

Robot Perl module
Does anyone know if there is a Robot/Spider Perl module that supports HTTP authentication and HTTPs connections? I know about WWW:Robot and the LWP:* modules but I wasn't able to find a module that combines the authentication features of LWP into a Robot. Essentially I want to spider websites that may require HTTP authentication or an HTTP/S connection. Rich wrote: > Does anyone know if there is a Robot/Spider Perl module that supports > HTTP authentication and HTTPs connections? I know about WWW:Robot and > the LWP:* modules but I wasn't able to find a module that combines the > authentication features of LWP into a Robot. > > Essentially I want to spider websites that may require HTTP > authentication or an HTTP/S connection. Try WWW::Mechanize - Joerg Thanks. I'll take a look on CPAN. ...

ptrdiff_t in Perl modules
I need a signed C integer type which is at least as wide as a pointer. Essentially, ptrdiff_t. What is the history of this type: is it guarantied to be defined in C code of Perl modules, or do I need to manually calculate it at configuration time based on %Config? IIRC, Perl requires ANSI C; is ptrdiff_t required by ANSI C? I see that in the C code for the portable part of perl itself ptrdiff_t is not used... Thanks, Ilya On Apr 7, 7:16=A0pm, Ilya Zakharevich <nospam-ab...@ilyaz.org> wrote: > I need a signed C integer type which is at least as wide as a pointer. > Essentially, ptrdiff_t. > > What is the history of this type: is it guarantied to be defined in > C code of Perl modules, or do I need to manually calculate it at > configuration time based on %Config? I'm hardly an authority on this, but the ptrdiff_t type will be available on any ANSI C compiler so long as stddef.h has been included. On my Win32 perls, stddef.h gets pulled in via perl.h, and the ptrdiff_t type is therefore "defined in C code of Perl modules" for Win32, without having to make any special provisions in the code. I expect that the same is true of other operating systems, but I don't know that for sure. Cheers, Rob On 2009-04-07, sisyphus <sisyphus359@gmail.com> wrote: > ptrdiff_t type is therefore "defined in C code of Perl modules" for > Win32, without having to make any special provisions in the code. This is more or less obv...

apache and perl modules
I have a perl script that uses the DBD module that works from the command line. But this same script will not run within apache. It looks like the perl script can't load the module properly from within apache. [Thu May 26 11:29:20 2005] [error] [client xxx.xxx.235.42] Uncaught exception from user code: [Thu May 26 11:29:20 2005] [error] [client xxx.xxx.235.42] \tinstall_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object file: No such file...

Perl module for NonStop
Hello, I'm looking for a perl module which could be able to call some specific Nonstop system calls (e.g. SPI calls, begin/abort/end tx, read/write/open $RECEIVE...). Do you know this kind of module already exits ? Thks, -- - ...

perl modules 298146
I have a hosting co. that won't let me install new perl modules, anyway I could still run the modules...? Put them in the same dir as my script? cc to robin@csf.edu - Thanks. -- Regards, Robin -- robin@csf.edu -- "Robin" <robin@csf.edu> wrote in message news:bupkgh$674$1@reader2.nmix.net... > I have a hosting co. that won't let me install new perl modules, anyway I > could still run the modules...? Put them in the same dir as my script? > this is a .... you guessed it ! ... FAQ to be precise: perldoc -q "How do I keep my own module/library directo...

Where to install perl modules?
I have a package that will install the perl modules to /usr/local/lib/ package_name. However, perl is installed in ~/perl-5.10.1/ on my machine. In ~/perl-5.10.1/lib, there are site_perl/ and 5.10.1/ directories. I'm wondering where the package should install the perl modules to. What are the difference between site_perl/ and 5.10.1/ directories? Peng Yu <pengyu.ut@gmail.com> wrote: > What are the difference between site_perl/ That is where modules that did not ship with the perl distribution should be installed. (they are part of your specific "site&quo...

Web resources about - Creating Perl Modules - comp.lang.perl.modules

Wikipedia:Creating a bot - Wikipedia, the free encyclopedia
It is often far simpler to request a bot job from an existing bot. If you have only periodic requests or are uncomfortable with programming languages, ...

U.K. Woman Faces 20 Months For Creating Fake Facebook Accounts, Sending Herself Abusive Messages
A woman in Cornwall in the U.K. came up with a creative way to use Facebook to accelerate a family spat, and it earned her 20 months in prison. ...

Sandi Krakowski’s Tips for Creating Great Content
Quick tips to help you create great content for your business.

Bug - Creating a Video.Watches Action stopped working - Facebook-Entwickler
Since today executing a POST on a me/video.wacthes endpoints no longer works, it was working around 10 hours ago since then the call always returns ...

Facebook simplifies process for creating repeat events
Facebook introduced a new feature for events this week that allows users to quickly create a similar event as one they previously hosted or attended. ...

The Obama campaign won by creating their own Facebook, with unique features for political campaigns.
... seen as too dangerous to nominate someone who is so thoroughly narcissistic, arrogant and dishonest. The Obama campaign won basically by creating ...

Creating A Great Startup Culture
... with any Bay Area startup these days (ping pong, beer on tap, catered lunches and Macbook Airs) – though these things are, of course, Creating ...

Campus Coaches: Creating a culture of wellness, one school at a time on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about Campus Coaches: Creating a culture of wellness, one school at a ...

Creating Economic Dynamism: Joseph E. Stiglitz
DAVOS/SWITZERLAND, 25JAN13 - Joseph E. Stiglitz, Professor, Columbia University, USA talks during the session 'Creating Economic Dynamism' at ...

YouTube - Super Human Abilities: Tila Tequila Creating Energy Balls & Electricity Out of Thin Air!
Veröffentlicht am 24.04.2013 Hey Guys! For a long time now I have been able to do some pretty supernatural things that most would consider "SUPER ...

Resources last updated: 3/24/2016 9:25:24 AM