Re: perl modules

2006-06-07 Thread Shaun Fryer
to install more perl > modules, I have to install in my local directories, I used CPAN to install > them, but some module depend on other modules which I already installed > before, and they always complain they can't find it. > > please give me some advice how t

perl modules

2006-06-07 Thread yue lu
I am a unix user, but I am not a superuser, so I tried to install more perl modules, I have to install in my local directories, I used CPAN to install them, but some module depend on other modules which I already installed before, and they always complain they can't find it. please gi

RE: our..... Lou's code ( was: Need help with making a Modules )

2005-11-28 Thread Charles K. Clarkson
"main". If you are not using "strict" you don't need "our". : So if I run the mod as one big ad-in program to main : and not calling subs in the mod, I don't have to pass vars in the : ()'s? stats; : and not : stats::sub($var1, $var2, etc);

RE: Need help with making a Modules

2005-11-27 Thread Charles K. Clarkson
Lou Hernsen wrote: : I am trying to create a module that will print the Stats of the : player of my on line game. : all it should do is take the vars, do some calulations and print the : HTML : since the Stats is used in every time i don't want to duplicate it in : each

Modules update

2005-11-27 Thread Lou Hernsen
since $Speed is the output i have to call on the sub in the mod as $Speed = stats::Speed($Spy,$Army,$Hero,$Horse,$Wagon); and pass the vars to the mod and in the mod return $Speed; I also discovered the mod will print HTML code with out returning it. Now i have to experiment with the workings of

Re: Need help with making a Modules

2005-11-27 Thread Lou Hernsen
#x27;t get this to work I'll just leave the sub Stats() in each program and not worry about it. Thanks Lou - Original Message - From: "Charles K. Clarkson" <[EMAIL PROTECTED]> To: Sent: Sunday, November 27, 2005 12:46 AM Subject: RE: Need help with making a Modules

Re: Need help with making a Modules

2005-11-27 Thread Lou Hernsen
This small piece of the Stats sub calculates the speed at which you are traveling. I have in the main program. use stats and I call on it just like a regular sub Speed(); or should it be stats::Speed; When I call on the entire mod, i want the whole thing to run. I could just put all the sub

RE: Need help with making a Modules

2005-11-27 Thread Charles K. Clarkson
Lou Hernsen <mailto:[EMAIL PROTECTED]> wrote: : I am studying modules.. I am seeking a mentor to help. What do you mean by "module"? I ask because many people have very different ideas about what one is. For example, some people think about a library. require &#

Re: Need help with making a Modules

2005-11-27 Thread David Dorward
On Sat, 2005-11-26 at 19:48 -0800, Lou Hernsen wrote: > I am studying modules.. perldoc perlmod (and perlmodlib, and perlmodstyle) > Do I need to pass vars into the mod? No, but you might need to pass them into subroutines you define in the module (depending on what you want to do).

Need help with making a Modules

2005-11-27 Thread Lou Hernsen
I am studying modules.. I am seeking a mentor to help. I have very simple questions like ... Do I need to pass vars into the mod? Do i need to declare vars in the mod? What is "our"? something like "my" and "local"? Do I need to return vars? The code I am writing cr

Re: Help w/Modules

2005-09-27 Thread Bill Stephenson
On Sep 25, 2005, at 2:01 PM, Randal L. Schwartz wrote: That's why I created CGI::Prototype::Hidden... to lazy-load the code for the particular step of the application. Randal, this really piqued my interest and after a little poking around I found this link; http://www.stonehenge.co

Re: Help w/Modules

2005-09-25 Thread Randal L. Schwartz
> "Bill" == Bill Stephenson <[EMAIL PROTECTED]> writes: Bill> Wouldn't it be more efficient for the server to run a small script Bill> that contains only the set-up and sub-routines needed to process a Bill> single "run-mode" instead of loading all the data needed to process Bill> all the "run

Help w/Modules

2005-09-25 Thread Bill Stephenson
I'm trying to understand how to convert my CGI scripts to use modules. My first step is to create a "SetUp" module where I can store common stuff. I put together a module and script to test it with but it doesn't work. It doesn't display the first (default) and last

Re: Help w/Modules

2005-09-25 Thread Bill Stephenson
On Sep 24, 2005, at 10:59 AM, Bill Stephenson wrote: I'm trying to understand how to convert my CGI scripts to use modules. I worked this problem out. Reading the docs and this page (http://www.perl.com/pub/a/2001/06/05/cgi.html) for CGI::Application has helped me better understand h

Re: installing modules

2005-09-05 Thread Edgard Padilla
Adriano Allora wrote: hi to all, my server-administrator told me I cannot use ssh to install some modules (LWP, HTML) on server. How I can do it using only ftp? thank a lot, alladr

installing modules

2005-09-05 Thread Adriano Allora
hi to all, my server-administrator told me I cannot use ssh to install some modules (LWP, HTML) on server. How I can do it using only ftp? thank a lot, alladr

Re: Alternative Modules

2005-04-27 Thread Mike Blezien
Wiggins d'Anconia wrote: Mike Blezien wrote: Hello, we are currently using the Mail::Audit module to resend piped incoming emails to a particular domain then sends it to various aliases emails from a database. I'm trying locate a similar module but doesn't put alot of the header garbage into the bo

Re: Alternative Modules

2005-04-27 Thread Wiggins d'Anconia
Mike Blezien wrote: > Hello, > > we are currently using the Mail::Audit module to resend piped incoming > emails to a particular domain then sends it to various aliases emails > from a database. I'm trying locate a similar module but doesn't put alot > of the header garbage into the body of the em

Alternative Modules

2005-04-26 Thread Mike Blezien
Hello, we are currently using the Mail::Audit module to resend piped incoming emails to a particular domain then sends it to various aliases emails from a database. I'm trying locate a similar module but doesn't put alot of the header garbage into the body of the email. Then Mail::Audit doesn't

Re: Variables in Modules

2005-04-14 Thread Sergio Pires de Albuquerque
r and fully qualified it, but always it get the previous value. My question is: Which method is common to share data among apps? What Am I doing wrong? Also, I always use "strict" and "warnings". Well, first -- I wouldn't name your modules *.cgi *.pm is what ev

Re: Variables in Modules

2005-04-14 Thread Sergio Pires de Albuquerque
David Dorward wrote: On Wed, Apr 13, 2005 at 05:14:31PM -0300, Sergio Pires de Albuquerque wrote: Thanks, but when I call another script from script1.cgi the value has gone HTTP is stateless. Each time a user requests an HTTP resource provided by a script, that script is run from scratch.

Re: Variables in Modules

2005-04-13 Thread Lawrence Statton
> > > I tried with our, importing that var and fully qualified it, but always > it get the previous value. My question is: Which method is common to > share data among apps? What Am I doing wrong? Also, I always use > "strict" and "warnings". > Wel

Re: Variables in Modules

2005-04-13 Thread David Dorward
On Wed, Apr 13, 2005 at 05:14:31PM -0300, Sergio Pires de Albuquerque wrote: > Thanks, but when I call another script from script1.cgi the value has > gone HTTP is stateless. Each time a user requests an HTTP resource provided by a script, that script is run from scratch. If you want to make dat

Re: Variables in Modules

2005-04-13 Thread Sergio Pires de Albuquerque
Ovid wrote: --- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: I tried with our, importing that var and fully qualified it, but always it get the previous value. My question is: Which method is common to share data among apps? What Am I doing wrong? Also, I always use "strict"

Re: Variables in Modules

2005-04-13 Thread Wiggins d'Anconia
Ovid wrote: --- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: I tried with our, importing that var and fully qualified it, but always it get the previous value. My question is: Which method is common to share data among apps? What Am I doing wrong? Also, I always use "strict" and "warn

Re: Variables in Modules

2005-04-13 Thread Ovid
--- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: > I tried with our, importing that var and fully qualified it, but > always > it get the previous value. My question is: Which method is common to > share data among apps? What Am I doing wrong? Also, I always use > "strict" and "warnin

Variables in Modules

2005-04-13 Thread Sergio Pires de Albuquerque
Dear Guys, I´ve been trying to develop an application that consists in about 8-10 scripts that should know about module variables (not OO yet). I read the docs and found that I can use a module variable (declared with our) in scripts that 'use' that module. Ok, there are: module1.cgi (declare

Re: Extracting links. - without modules

2005-01-17 Thread Chris Devers
On Mon, 17 Jan 2005, Alexander Blüm wrote: > this is also possible _without_ any modules, except maybe "strict". > > # this will replace the contents of each match in @get > foreach(@array){ > my @get = $_ =~ //g; > } What happens if the url has a doublequote

Re: Extracting links. - without modules

2005-01-17 Thread Alexander Blüm
gt; ####### CODE END ### > > Thanks, > > Sara. > this is also possible _without_ any modules, except maybe "strict". # this will replace the contents of each match in @get foreach(@array){ my @get = $_ =~ //g; } or: # this will add each

RE: which modules to use?

2004-09-06 Thread Charles K. Clarkson
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : I am really new to CGI, my 1st question is, which : Perl modules should I use for creating XHTML : documents? Write me, which one are good, where I : can read more about this... CGI.pm is a good starting point. Some of us later abandon it

Re: which modules to use?

2004-09-06 Thread Chris Devers
On Mon, 6 Sep 2004, Ing. Branislav Gerzo wrote: I am really new to CGI, my 1st question is, which Perl modules should I use for creating XHTML documents ? Write me, which one are good, where I can read more about this... I believe that recent versions of CGI.pm should emit valid XHTML, which is

which modules to use?

2004-09-06 Thread Ing. Branislav Gerzo
Hi all, I am really new to CGI, my 1st question is, which Perl modules should I use for creating XHTML documents ? Write me, which one are good, where I can read more about this... Thanks. /Brano -=x=- Skontrolované antivírovým programom NOD32 -- To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Installing modules

2003-10-16 Thread Wiggins d'Anconia
On Thu, 16 Oct 2003 14:18:49 +0300, "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > Hi all, > > Does anyone know how could I install the DBI and DBD::mysql modules under > Red Hat if I don't have root rights? >

Installing modules

2003-10-16 Thread Octavian Rasnita
Hi all, Does anyone know how could I install the DBI and DBD::mysql modules under Red Hat if I don't have root rights? Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: modules

2003-09-10 Thread drieux
"../lib/; use OurModule; ... my $first_thingie = OurModule->my_first_sub(@arglist); ... Which ever makes you feel happier. I would of course HIGHLY RECOMMEND that you get Schwartz's "Learning Perl Objects, References & Modules. cf: <http://w

Re: modules

2003-09-10 Thread drieux
On Wednesday, Sep 10, 2003, at 12:14 US/Pacific, Rodrigo Daniel de Lira wrote: hi, Can I to call a function that is in another script? not easily. the best solution is to go with a perl module. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

modules

2003-09-10 Thread Rodrigo Daniel de Lira
hi, Can I to call a function that is in another script? thanks, Rodrigo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Installing/Uninstalling CPAN modules

2003-08-26 Thread wiggins
On Tue, 26 Aug 2003 19:20:03 +, Greenhalgh David <[EMAIL PROTECTED]> wrote: > This may be the wrong forum to ask this... > > How do I uninstall a module downloaded from CPAN? Specifically, I > cannot get the DBD::MySQL driver to install under

Re: Installing/Uninstalling CPAN modules

2003-08-26 Thread Greenhalgh David
You may have better luck in the [EMAIL PROTECTED] list since OS X likes to do all kinds of weird things with its Perl, and with regards to DBI/DBD in [EMAIL PROTECTED] Typically removing a Perl module is not as easy as installing them, removing the associated files is only one step... Sorry I

Installing/Uninstalling CPAN modules

2003-08-26 Thread Greenhalgh David
This may be the wrong forum to ask this... How do I uninstall a module downloaded from CPAN? Specifically, I cannot get the DBD::MySQL driver to install under OS X. It refuses to find the mysql_config file, and when I run Makefile again with the -L and -I switches it won't work after install.

Re: perl-modules

2003-06-30 Thread Kevin
> Hello, > > is there a way of finding out, which modules are installed on a remote > machine using a script? > > there's this scenario: > > I will have a website up soon, with CGI's - but I don't know, what > modules are installed... so I'd wri

RE: perl-modules

2003-06-23 Thread Scot Robnett
.pm MLDBM.pm Digest.pm LWP.pm MD5.pm OLE.pm PPM.pm SHA.pm URI.pm Win32.pm DBI.pm PDF.pm Mysql.pm User.pm CDDB_get.pm MLDBM.pm Scot R. inSite -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 10:31 AM To: [EMAIL PROTECTED] Subject: perl-modules Hello,

Re: perl-modules

2003-06-23 Thread Dennis Stout
ssage - From: "Alex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 07 31 Subject: perl-modules > Hello, > > is there a way of finding out, which modules are installed on a remote > machine using a script? > > there's this scenar

perl-modules

2003-06-23 Thread Alex
Hello, is there a way of finding out, which modules are installed on a remote machine using a script? there's this scenario: I will have a website up soon, with CGI's - but I don't know, what modules are installed... so I'd write a script, that shows / lists all available mo

Re: mod_perl books, cpan modules. (fwd)

2003-03-23 Thread Lincoln Stein
gt; Subject: mod_perl books, cpan modules. > > I want to learn mod_perl and there're two books who talk about this. > Now a third has arrives and it's talking about 2.0 mod_perl but i am a > Lincoln Stein fan and i want the "Writing Apache Modules with Perl and C&quo

RE: mod_perl books, cpan modules.

2003-03-21 Thread wiggins
Stein fan and i want the "Writing Apache Modules with Perl and C". > But the last edition is still about 1.3, anyone knows anything about any > intention about making a super-new edition about 2.0?? > I don't do a lot of mod_perl but I would think that the basis for how the

mod_perl books, cpan modules.

2003-03-21 Thread entius
I want to learn mod_perl and there're two books who talk about this. Now a third has arrives and it's talking about 2.0 mod_perl but i am a Lincoln Stein fan and i want the "Writing Apache Modules with Perl and C". But the last edition is still about 1.3, anyone know

Re: ISP won't install Perl modules

2003-01-19 Thread Wiggins d'Anconia
Message - From: <[EMAIL PROTECTED]> To: "Beginners-CGI List" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:52 PM Subject: RE: ISP won't install Perl modules On Fri, 17 Jan 2003 15:18:42 +0100, Rene Verharen &l

Re: ISP won't install Perl modules

2003-01-17 Thread Octavian Rasnita
al Message - From: <[EMAIL PROTECTED]> To: "Beginners-CGI List" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:52 PM Subject: RE: ISP won't install Perl modules On Fri, 17 Jan 2003 15:18:42 +0100, Rene Verharen

Solved: ISP won't install Perl modules

2003-01-17 Thread Rene Verharen
Hi all, At 17-01-2003 15:18 +0100, I wrote: My ISP won't install some Perl modules I want to use (Email::Valid and Mail::Address). Is there a way to install these modules in some directory I have access to so I'll be able to use them ? I installed the modules in a different dir

Re: ISP won't install Perl modules

2003-01-17 Thread Alfred Wheeler
a web host that willingly installs modules for you. I'm working with one now that is great about this. If you'd like more info, e-mail me offline from the list. Thanks! - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Rene Verharen [mai

RE: ISP won't install Perl modules

2003-01-17 Thread Scot Robnett
web host that willingly installs modules for you. I'm working with one now that is great about this. If you'd like more info, e-mail me offline from the list. Thanks! - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Rene Verharen [mai

RE: ISP won't install Perl modules

2003-01-17 Thread wiggins
On Fri, 17 Jan 2003 15:18:42 +0100, Rene Verharen <[EMAIL PROTECTED]> wrote: > Hi all, > > My ISP won't install some Perl modules I want to use (Email::Valid and > Mail::Address). > Is there a way to install these m

ISP won't install Perl modules

2003-01-17 Thread Rene Verharen
Hi all, My ISP won't install some Perl modules I want to use (Email::Valid and Mail::Address). Is there a way to install these modules in some directory I have access to so I'll be able to use them ? Kind regards, Rene Verharen Please DO NOT reply to me personally. I'

Re: listing modules installed with CPAN

2002-10-18 Thread William McKee
On 17 Oct 2002 at 14:15, Justin Cook wrote: > How can I tell what modules I've installed using CPAN? When I type in 'b' > or 'd' or 'm' I seem to get everything, I only want to know what modules / > bundles I've installed using CPAN. Read the sec

Re: listing modules installed with CPAN

2002-10-18 Thread Wiggins d'Anconia
This question may be better posed to the [EMAIL PROTECTED] list many of those users do not monitor both lists, and may be able to provide better insight. I would try and answer it but I don't have one :-) http://danconia.org Justin Cook wrote: Hello- How can I tell what modules

listing modules installed with CPAN

2002-10-18 Thread Justin Cook
Hello- How can I tell what modules I've installed using CPAN? When I type in 'b' or 'd' or 'm' I seem to get everything, I only want to know what modules / bundles I've installed using CPAN. Thanks in advance, Justin -- To unsubscribe, e-mail: [EMA

Re: libwww-perl and URI modules for 5.005_02

2002-07-10 Thread Peter Scott
At 06:42 PM 7/10/02 -0700, H. Victor Lim wrote: >Hello, > >I am working on a Solaris platform using version 5.005_02. Could >someone point me to libwww-perl and URI modules that would work with >5.005_02? I searched through www.cpan.org and the earliest versions >that I found

libwww-perl and URI modules for 5.005_02

2002-07-10 Thread H. Victor Lim
Hello, I am working on a Solaris platform using version 5.005_02. Could someone point me to libwww-perl and URI modules that would work with 5.005_02? I searched through www.cpan.org and the earliest versions that I found are: libwww-perl-5.10.tar.gz URI-1.18.tar.gz After installing

Re: Running Modules

2002-06-25 Thread David vd Geer Inhuur tbv IPlib
Hi, Don't forget to close the FH : close(); Regs David - > > Greetings All, > > I have the following code, from which I attempt to call the module > “Test” > #!/usr/local/bin/perl > ### > ### Program name: demo.pl > ### Created By:Theresa Mullin > > require "cgi.lib

RE: Running Modules

2002-06-24 Thread Bob Showalter
> -Original Message- > From: Theresa Mullin [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 2:30 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Running Modules > > > Greetings All, > > I have the following code, from which I atte

Re: Running Modules

2002-06-24 Thread drieux
On Monday, June 24, 2002, at 01:09 , drieux wrote: [..] >> use Test; >> [..] there is also a 'name space' clash here "Test.pm" already exists as a real module in most of the perl releases. cf: perldoc -m Test So you may want to get into h2xs a little sooner - so that you can feel safe about d

Fwd: Running Modules

2002-06-24 Thread drieux
The Simplest case: http://www.wetware.com/drieux/pbl/perlTrick/subStuff/SimpleLib/ Phase One of Playing with h2xs to generate the frameWork for you Perl Module at: http://www.wetware.com/drieux/CS/Proj/PID/ Phase Two of playing with Perl Modules http://www.wetware.com/drieux/

Running Modules

2002-06-24 Thread Theresa Mullin
Greetings All, I have the following code, from which I attempt to call the module “Test” #!/usr/local/bin/perl ### ### Program name: demo.pl ### Created By:Theresa Mullin require "cgi.lib"; ### Include the CGI stuff use CGI qw(:standard); ### Include the database access stuff use DBI;

Session modules to use

2002-06-22 Thread Niko Gunadi
Hi, I was thinking to use session for my application. But there are so many options of the modules in CPAN. Apache::session and PHP::Session are ones of the options. As i programmed in PHP before, i'm quite interested in using PHP::Session as it's simple and easy. I would like t

RE: Sort of Conceptual, Syntax, and modules related questions

2002-03-23 Thread Timothy Johnson
Oops! The exclamation point in number 7 was a typo. -Original Message- From: Timothy Johnson To: 'Connie Chan '; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 3/22/02 1:59 PM Subject: RE: Sort of Conceptual, Syntax, and modules related questions 1. It will only read the

RE: Sort of Conceptual, Syntax, and modules related questions

2002-03-23 Thread Timothy Johnson
hope this puts you on the right track to a whole new mess of questions! :) -Original Message- From: Connie Chan To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 3/22/02 1:30 PM Subject: Sort of Conceptual, Syntax, and modules related questions Dear All, I have sort of questions, would yo

Sort of Conceptual, Syntax, and modules related questions

2002-03-22 Thread Connie Chan
line ? 6. Is that any syntax for local call about 'use' and 'require', so as something like 'not require', 'not use' expressions ? 7. Would you give me some short examples for //e, and //g ? I am confused for their usuage. 8. Any modules can help to che

Missing modules

2002-03-03 Thread GsuLinuX
Hi from İstanbul, Anyone knows a free server that i can test my perl scripts? I've already find some but the modules that i need aren't installed. I prefer the one that all the perl modules are installed if it exists:) thanx Derya

Modules for parsing RFC822 mail headers

2002-01-10 Thread Eric Pretorious
Hello, All: I'd like to write a script that recieves e-mail (via the /etc/alias feature of sendmail/postfix) and parses the header fields. (e.g., From:, To:, Subject:). I've perused the MailTools-1.42 documentation but it's way to hairy for my simple brain. (I haven't gotten a handle on Objec

Get stuck when using modules

2001-12-15 Thread Perl Beginner
Hi all, I am using Windows 98 and active perl , and now I have 2 problems here : Q1) I am trying to use CGI module to output a GIF, but I found that it is fail . However, my purpose is to output multiple GIFs, just something looks like a counter. Would anybody have suggestion for a better module

Re: Perl modules on web host server

2001-12-11 Thread Jack Daly
On Sat, 8 Dec 2001, Hoenie Luk wrote: > Hi, I'm new to cgi-programming with Perl and I've been looking for answers > for the following questions: > > 1. How do you find out if the web host supports certain Perl modules? > > 2. If the web host does not have cer

RE: Perl modules on web host server

2001-12-10 Thread Bob Showalter
> -Original Message- > From: Hoenie Luk [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 2:52 AM > To: [EMAIL PROTECTED] > Subject: Perl modules on web host server > > > Hi, I'm new to cgi-programming with Perl and I've been > loo

Re: Perl modules on web host server

2001-12-09 Thread Francisco J. Valladolid Hdez.
regards. Nafiseh Saberi >www.iraninfocenter.net > www.sorna.net > Beaty is in the eye of the beholder. > _ > - Original Message - > From: "Hoenie Luk" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sund

Re: Perl modules on web host server

2001-12-09 Thread nafiseh saberi
. _ - Original Message - From: "Hoenie Luk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 09, 2001 11:22 AM Subject: Perl modules on web host server > Hi, I'm new to cgi-programming with Perl and I've been look

Perl modules on web host server

2001-12-08 Thread Hoenie Luk
Hi, I'm new to cgi-programming with Perl and I've been looking for answers for the following questions: 1. How do you find out if the web host supports certain Perl modules? 2. If the web host does not have certain modules installed and I need to use them for my Perl cgi-script, wha

Re: Using custom modules

2001-12-07 Thread Gerry Jones
{ > ...some code here... > } > > sub baz { > ...more code... > } > > 1;# all modules should return true > > __END__ Thanks ;-) Gerry. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using custom modules

2001-12-07 Thread fliptop
lue. Somebody please save me from wading through all the > documentation. make sure your module returns a true value. for example: package Foo; use strict; use SomeOtherModule; sub bar { ...some code here... } sub baz { ...more code... } 1; # all modules should return true __END__

Using custom modules

2001-12-07 Thread Gerry Jones
I want to use a module I have created and stored in cgi-bin directory. It holds a few commonly used functions. I remember having done this before, but can't remember how I got it to work, and my error log says the module did not return a true value. Somebody please save me from wading through a

RE: where to get modules? and any gui for win32?

2001-10-10 Thread James Kelty
PM To: James Kelty Cc: Brett W. McCoy; [EMAIL PROTECTED] Subject: RE: where to get modules? and any gui for win32? that version only has no nmake for winnt systems. Thanks for the help thou eric On Wed, 10 Oct 2001, James Kelty wrote: > http://www.bell-labs.com/project/nmake/ > &g

RE: where to get modules? and any gui for win32?

2001-10-10 Thread Eric Wang
ober 10, 2001 2:47 PM > To: Brett W. McCoy > Cc: [EMAIL PROTECTED] > Subject: Re: where to get modules? and any gui for win32? > > > You know where I can get nmake? I used to have it and it works great! but > I just lost my HD on my labtop (w/o backup) and I forgot where I got

RE: where to get modules? and any gui for win32?

2001-10-10 Thread James Kelty
http://www.bell-labs.com/project/nmake/ -James -Original Message- From: Eric Wang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 10, 2001 2:47 PM To: Brett W. McCoy Cc: [EMAIL PROTECTED] Subject: Re: where to get modules? and any gui for win32? You know where I can get nmake? I

Re: where to get modules? and any gui for win32?

2001-10-10 Thread Eric Wang
You know where I can get nmake? I used to have it and it works great! but I just lost my HD on my labtop (w/o backup) and I forgot where I got it from. Thanks! Eric On Wed, 10 Oct 2001, Brett W. McCoy wrote: > > Where do I get some of these cool modules like www, DBI... etc? > >

Re: where to get modules? and any gui for win32?

2001-10-10 Thread RaFaL Pocztarski
Eric Wang wrote: > Where do I get some of these cool modules like www, DBI... etc? http://search.cpan.org/ > and is there a module to write gui programs using perl in win32 > environmrnt? (WINNT or 2k) http://search.cpan.org/search?dist=Wx http://www.wxwindows.org/ - RaFaL Pocztarsk

Re: where to get modules? and any gui for win32?

2001-10-10 Thread Brett W. McCoy
> Where do I get some of these cool modules like www, DBI... etc? www.cpan.org is the definitive repository. Many assume the availability of a C compiler and proper development tools like make or nmake. On Win32, you can use VC++, or the CygWin environment, which gives you a lot of GNU to

where to get modules? and any gui for win32?

2001-10-10 Thread Eric Wang
Hi people, Where do I get some of these cool modules like www, DBI... etc? and is there a module to write gui programs using perl in win32 environmrnt? (WINNT or 2k) Thanks! Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using modules

2001-07-31 Thread Casey West
On Tue, Jul 31, 2001 at 05:34:01PM -0400, Brett W. McCoy wrote: : On Tue, 31 Jul 2001, Ryan Davis/Pamela Karr wrote: : : > How can I change my @INC variable? Can I just: : > : > @INC = (@INC, "/home/me/libs/"); : > : > It seems like I would need to change it before my perl program starts... : >

Re: Using modules

2001-07-31 Thread Brett W. McCoy
On Tue, 31 Jul 2001, Ryan Davis/Pamela Karr wrote: > How can I change my @INC variable? Can I just: > > @INC = (@INC, "/home/me/libs/"); > > It seems like I would need to change it before my perl program starts... > Also, if I put a .pm file in one of the @INC dirs, will I be able to: > > use mo

Using modules

2001-07-31 Thread Ryan Davis/Pamela Karr
How can I change my @INC variable? Can I just: @INC = (@INC, "/home/me/libs/"); It seems like I would need to change it before my perl program starts... Also, if I put a .pm file in one of the @INC dirs, will I be able to: use module; even if it is not in the main system perl libs? Thanks, R

Re: use of modules with authorize.net

2001-06-21 Thread fliptop
Susanne wrote: > > does anyone have sample code that would educate me on credit card > processing with authorize.net? tia. try this module from cpan: http://search.cpan.org/search?dist=Business-OnlinePayment-AuthorizeNet

use of modules with authorize.net

2001-06-20 Thread Susanne
does anyone have sample code that would educate me on credit card processing with authorize.net? tia.

RE: using modules installed in local CGI bin

2001-06-08 Thread Al Hospers
> the script should be ... thanks John. OK got it working. so what am I looking for? here is some of the info: PATHS are: /bin /usr/vde/bin /usr/local/bin /usr/gnu/bin /usr/ucb /usr/css/bin /usr/local/cvbin $INC[1]= /usr/local/pkg/perl5/lib $INC[2]= /usr/local/pkg/perl5/lib/site_perl/sun4-so

RE: using modules installed in local CGI bin

2001-06-08 Thread Al Hospers
tdk wrote: Did you just copy the FTP.pm file into this area, or did you actually do the install? i.e., something like perl Makefile.PL prefix=/myinstall/directory make make test make install I just deleted the entire libnet folder & started over. so, first I did: perl Makefile.PL prefix=/l

RE: using modules installed in local CGI bin

2001-06-08 Thread Moon, John
print ''; } } else { print "$key = $ENV{$key}\n"; } } print 'INC follows:'; foreach $b (@INC) { print '$INC[' . $i++ . "]= $b\n"; print ''; -----Original Message- From: Al Hospers [mailto:[EMAIL

RE: using modules installed in local CGI bin

2001-06-08 Thread Al Hospers
> Oops ... too much paste ... sorry John. does not compute? Al

RE: using modules installed in local CGI bin

2001-06-08 Thread Curtis Poe
> if ($#path > 0) > @paths=split /:/, $ENV{$key}; Should be if ($#path > 0) { @paths=split /:/, $ENV{$key}; } Your content type should be (space after the colon) print "Content-Type: text/html\n\n"; --- Al Hospers <[EMAIL PROTECTED]> wrote: > is this correct? >

RE: using modules installed in local CGI bin

2001-06-08 Thread Moon, John
Oops ... too much paste ... John W Moon -Original Message- From: Al Hospers [mailto:[EMAIL PROTECTED]] Sent: June 08, 2001 15:57 To: [EMAIL PROTECTED] Subject: RE: using modules installed in local CGI bin is this correct? #!/usr/local/bin/perl print "Content-Type:text/htm

RE: using modules installed in local CGI bin

2001-06-08 Thread Al Hospers
> Did you just copy the FTP.pm file into this area, or did you > actually do > the install? i.e., something like > > perl Makefile.PL prefix=/myinstall/directory > make > make test > make install I did perl Makefile.PL but not the perfix... stuff. perhaps I should remove it all, copy it up again

RE: using modules installed in local CGI bin

2001-06-08 Thread Al Hospers
is this correct? #!/usr/local/bin/perl print "Content-Type:text/html\n\n"; print 0) @paths=split /:/, $ENV{$key}; if

RE: using modules installed in local CGI bin

2001-06-08 Thread Timothy Kimball
Al Hospers wrote: : I changed the setup to : : #!/usr/local/bin/perl : use CGI qw(:all); : use lib "./libnet"; : use Net::FTP; : print header; : ... : now I get this error : : BEGIN failed--compilation aborted at weather_ftp.cgi line 4. I presume this is from the server's error_log. Is th

  1   2   >