Re: Modules

2023-10-24 Thread John Harris Gmail
What modules and/or libraries are you using? Before you code do you block diagram and flowchart your programs? On Tue, Oct 24, 2023, 12:06 PM Levi Elias Nystad-Johansen via beginners < beginners@perl.org> wrote: > I use modules for complex things that I might get wrong. To re-use other > people's

Re: Modules

2023-10-24 Thread Levi Elias Nystad-Johansen via beginners
I use modules for complex things that I might get wrong. To re-use other people's code is often better than to re-invent their solutions. https://metacpan.org/pod/WWW::Mechanize::Examples has some good examples of useful scripts that are short and simple. Imagine how hard it would be to write th

Re: modules

2013-06-04 Thread Shlomi Fish
Hi Michael, On Mon, 3 Jun 2013 16:38:25 -0700 Michael Rasmussen wrote: > On Tue, Jun 04, 2013 at 12:01:09AM +0100, Rahim Fakir wrote: > > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > > Manager to install modules, insted of Cpan command. > > I know how to install

Re: modules

2013-06-04 Thread Shlomi Fish
Hi Jim, thanks for replying to Ray. See below for my comments. On Mon, 3 Jun 2013 16:18:53 -0700 Jim Gibson wrote: > > On Jun 3, 2013, at 4:01 PM, Rahim Fakir wrote: > > > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > > Manager to install modules, insted of Cpa

Re: modules

2013-06-03 Thread Michael Rasmussen
On Tue, Jun 04, 2013 at 12:01:09AM +0100, Rahim Fakir wrote: > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > Manager to install modules, insted of Cpan command. > I know how to install them, but I need instrucions how to use them, step by > step, how-to run the modul

Re: modules

2013-06-03 Thread Jim Gibson
On Jun 3, 2013, at 4:01 PM, Rahim Fakir wrote: > Iam using win 7 64bits, and i downloaded Strawberry, and I use Perl PAckage > Manager to install modules, insted of Cpan command. > I know how to install them, but I need instrucions how to use them, step by > step, how-to run the modules. Each

Re: Modules download from CPAN

2010-04-10 Thread Shawn H Corey
Alan Haggai Alavi wrote: Hi, CPAN::Mini can be used to create/update local mirrors. minicpan script (http://search.cpan.org/perldoc?minicpan) which uses CPAN::Mini will be helpful in maintaining a local CPAN mirror. If you're going to working on CPAN, you should sign up for the CPAN mailing

Re: Modules download from CPAN

2010-04-10 Thread Alan Haggai Alavi
Hi, CPAN::Mini can be used to create/update local mirrors. minicpan script (http://search.cpan.org/perldoc?minicpan) which uses CPAN::Mini will be helpful in maintaining a local CPAN mirror. Regards, Alan Haggai Alavi. -- The difference makes the difference. -- To unsubscribe, e-mail: beginn

Re: Modules download from CPAN

2010-04-09 Thread Shawn H Corey
Open Source wrote: Shawn, actually I would setup something like mirror site (locally) so all the modules. If you want to mirror CPAN, why didn't you say so? BTW, that is hardly a beginners question. You should take your advance questions to PerlMonks http://www.perlmonks.org/ -- Just m

Re: Modules download from CPAN

2010-04-09 Thread Brandon McCaig
On Fri, Apr 9, 2010 at 11:04 AM, Open Source wrote: > Shawn, actually I would setup something like mirror site (locally) so all the > modules. http://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN ??? -- Brandon McCaig V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl. Castop

Re: Modules download from CPAN

2010-04-09 Thread Open Source
Shawn, actually I would setup something like mirror site (locally) so all the modules. > - Original Message - > From: Shawn H Corey > Sent: 04/09/10 08:04 PM > To: Open Source > Subject: Re: Modules download from CPAN > Open Source wrote: > I would like to dow

Re: Modules download from CPAN

2010-04-09 Thread Jeremiah Foster
On Apr 9, 2010, at 4:19 PM, Open Source wrote: > I would like to download all the modules (atleast important ones) from cpan > website and keep them in my local disk rather going into www everytime. Can > someone tell how to download all of them? Cheers Sorry, my previous email was a little to

Re: Modules download from CPAN

2010-04-09 Thread Shawn H Corey
Open Source wrote: I would like to download all the modules (atleast important ones) from cpan website and keep them in my local disk rather going into www everytime. Can someone tell how to download all of them? Cheers Sorry, you have to decide which ones are the important ones first. --

Re: Modules for parsing emails

2007-05-30 Thread Robert Hicks
Tom Phoenix wrote: On 5/30/07, Robert Hicks <[EMAIL PROTECTED]> wrote: I need to parse email headers and the body of the email. The emails are supposed to be plain text only but sometimes someone goofs and sends one in HTML. I need to strip away the HTML elements and/or covert it to plain text

Re: Modules for parsing emails

2007-05-30 Thread Tom Phoenix
On 5/30/07, Robert Hicks <[EMAIL PROTECTED]> wrote: I need to parse email headers and the body of the email. The emails are supposed to be plain text only but sometimes someone goofs and sends one in HTML. I need to strip away the HTML elements and/or covert it to plain text to process. That r

Re: Modules inter-relay ?

2006-12-04 Thread Jenda Krynicky
From: Mug <[EMAIL PROTECTED]> > Say I have 2 modules ( below pseudo codes ) , which the first > package ( InitGlobal ) will be used through out the other project > modules. However, InitGlobal itself would relay on some other modules, > which the modules using InitGlobal too. > > This sometimes ca

Re: Modules inter-relay ?

2006-12-04 Thread Bill Jones
On 12/4/06, Mug <[EMAIL PROTECTED]> wrote: > BEGIN { > unshift (@INC, "/special"); > unshift (@INC, "/special/packages"); > } > > use strict; > use InitGlobal; And if I didn't get mis-understood on what I've studied, 'use' still comes earlier than 'BEGIN{}', so what is the mystery why this met

Re: Modules inter-relay ?

2006-12-03 Thread Mug
Bill Jones wrote: > On 12/4/06, Mug <[EMAIL PROTECTED]> wrote: > >> Say I have 2 modules ( below pseudo codes ) , which the first >> package ( InitGlobal ) will be used through out the other project >> modules. However, InitGlobal itself would relay on some other >> modules, which the modules using

Re: Modules inter-relay ?

2006-12-03 Thread Bill Jones
On 12/4/06, Mug <[EMAIL PROTECTED]> wrote: Say I have 2 modules ( below pseudo codes ) , which the first package ( InitGlobal ) will be used through out the other project modules. However, InitGlobal itself would relay on some other modules, which the modules using InitGlobal too. You can pla

Re: Modules for printing the content of an array

2006-10-12 Thread Sami FANTAR
Mumia W. a écrit : On 10/11/2006 10:42 AM, Sami FANTAR wrote: [...] I have read the Data::Dumper related doc. Including the part where it tells you how to substitute the correct variable names for $VAR1,$VAR2,... ? But, after having written your example, the output seems quite weird. I got

Re: modules breaking?

2006-10-11 Thread Tom Phoenix
On 10/11/06, Jesse Engel <[EMAIL PROTECTED]> wrote: i'm getting an error in an installed module, not in my script. invalid top directory at /System/Library/Perl/5.8.1/File/Find.pm line 568. Yes; but do you see what it's trying to tell you? Some top directory that you're passing to find() isn'

Re: Modules for printing the content of an array

2006-10-11 Thread Mumia W.
On 10/11/2006 10:42 AM, Sami FANTAR wrote: [...] I have read the Data::Dumper related doc. Including the part where it tells you how to substitute the correct variable names for $VAR1,$VAR2,... ? But, after having written your example, the output seems quite weird. I got $VAR1,$VAR2, and so

RE: Modules for printing the content of an array

2006-10-11 Thread Charles K. Clarkson
Rob Coops wrote: : Simply do this in your perl script: : *use Data::Dumper;* : *print Dumper @huge_array;* For the archives: Those asterisks (*) are for emphasis. They are not actually in the code. Arrays and hashes can also be dumped using a reference. I find a reference more aesthetica

Re: Modules for printing the content of an array

2006-10-11 Thread Sami FANTAR
Rob Coops a écrit : Hi Sami, Yes Data::Dumper is your friend when it comes to dumping data (how strange is that :-) Simply do this in your perl script: *use Data::Dumper;* *print Dumper @huge_array;* And be amazed ;-) On 10/11/06, Sami FANTAR <[EMAIL PROTECTED]> wrote: Hello everybody

Re: Modules for printing the content of an array

2006-10-11 Thread Rob Coops
Hi Sami, Yes Data::Dumper is your friend when it comes to dumping data (how strange is that :-) Simply do this in your perl script: *use Data::Dumper;* *print Dumper @huge_array;* And be amazed ;-) On 10/11/06, Sami FANTAR <[EMAIL PROTECTED]> wrote: Hello everybody I would like to know

Re: modules not found

2006-10-11 Thread Dennis Heuer
On Wed, 11 Oct 2006 21:39:22 +0800 (GMT+08:00) Jeff Pang <[EMAIL PROTECTED]> wrote: > > >Can somebody give me a hint if there's some general problem with perl > >when not resided in /usr > > > > Hello, > > Do you know where your modules are installed?Given the path for installed > modules is "

Re: modules not found

2006-10-11 Thread Jeff Pang
>Can somebody give me a hint if there's some general problem with perl >when not resided in /usr > Hello, Do you know where your modules are installed?Given the path for installed modules is "/your/path",you can add the path to Perl's @INC by putthing this statement at the begin of your script

Re: Modules aiming at displaying mathematical functions on screen?

2006-09-20 Thread Dr.Ruud
SFantar schreef: > After searching the cpan.org site for mathematical modules, > I did not find a module which can display graphically > the result of a function. > I want to see a function curve displayed in a graphical window? Beyond that: http://maxima.sourceforge.net/ (Lisp) http://symax

Re: Modules aiming at displaying mathematical functions on screen?

2006-09-20 Thread Mumia W.
On 09/20/2006 05:24 AM, SFantar wrote: Hello After searching the cpan.org site for mathematical modules, I did not find a module which can display graphically the result of a function. I want to see a function curve displayed in a graphical window? How can I make it possible in Perl? Thanks i

RE: Modules aiming at displaying mathematical functions on screen?

2006-09-20 Thread Lee Goddard
> After searching the cpan.org site for mathematical modules, I > did not find a module which can display graphically the > result of a function. > I want to see a function curve displayed in a graphical window? > > How can I make it possible in Perl? > Thanks in advance for your help. Module n

RE: Modules to extract calendar info from Exchange

2006-09-18 Thread William Paulsen \(W\)
PROTECTED] Sent: 15 September 2006 10:24 PM To: beginners@perl.org Subject: Re: Modules to extract calendar info from Exchange William Paulsen (W) am Freitag, 15. September 2006 13:36: > Hi, Hi > Is there a perl module(s) that can extract calendar infrom from an MS > Exchange server. I

RE: Modules to extract calendar info from Exchange

2006-09-15 Thread Wagner, David --- Senior Programmer Analyst --- WGO
EMAIL PROTECTED] Sent: Friday, September 15, 2006 13:26 To: beginners@perl.org Subject: Re: Modules to extract calendar info from Exchange Sorry: > > Is there a perl module(s) that can extract calendar infrom from an > > MS Exchange server. I need to extract appmnts, meetings, etc such t

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread D. Bolliger
Sorry: > > Is there a perl module(s) that can extract calendar infrom from an MS > > Exchange server. I need to extract appmnts, meetings, etc such that I > > can SMS these message to a person(s) cellphone. Which modules are > > available, and how easy is it? > > No idea (and no other answers)

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread D. Bolliger
William Paulsen (W) am Freitag, 15. September 2006 13:36: > Hi, Hi > Is there a perl module(s) that can extract calendar infrom from an MS > Exchange server. I need to extract appmnts, meetings, etc such that I > can SMS these message to a person(s) cellphone. Which modules are > available, an

Re: Modules to extract calendar info from Exchange

2006-09-15 Thread Tom Phoenix
On 9/15/06, William Paulsen (W) <[EMAIL PROTECTED]> wrote: Is there a perl module(s) that can extract calendar infrom from an MS Exchange server. I need to extract appmnts, meetings, etc such that I can SMS these message to a person(s) cellphone. Which modules are available, and how easy is i

RE: modules maillist

2006-07-03 Thread Jeff Peng
Is there a maillist talking about or seeking a module to a specific requirement? There are some lists about CPAN,maybe that's you wanted. For example: cpan-discuss A general, non-technical list for talking about any issue of CPAN. cpan-interface A list for people interested in developing a

Re: modules - lost again

2005-04-02 Thread Peter Rabbitson
> > And if I am, and specifying explicit imports for each module is beneficial > > - > > Not for reason of speed. For reason of maintainability. You should only > import names you are going to use, and then do so explicitly, so that a > maintenance programmer doesn't look at the program wonder

Re: modules - lost again

2005-04-02 Thread Peter Scott
On Sat, 02 Apr 2005 09:23:53 -0500, Peter Rabbitson wrote: > This one is about my Tools.pm which uses Exporter and delivers a set of 5- > 10 line subroutines for stupud tasks (number rounder, strip commas from > numbers, commify them back, customized html entity decoder etc etc etc). > What I am cu

Re: modules - lost again

2005-04-02 Thread Peter Rabbitson
> Examine your concept of "reside in". You appear to be confused with > modules that use the Exporter. You don't. I believe you'll find that > you use SomeOther::Module *before* using Configuration in the main program, > which means that the assignments haven't taken place yet. > A-ha! Some da

Re: modules - lost again

2005-04-01 Thread Peter Scott
On Fri, 01 Apr 2005 07:29:17 -0500, Peter Rabbitson wrote: > [...] I decided to create a central Configuration.pm > which will hold different hashes with "configuration sections" e.g.: > > package Configuration; > > %Configuration::auth = ( >[...]... > > You get the idea. Now I am able to ac

Re: modules

2004-10-01 Thread Sano Babu
[snip] > If you want to "do as the Romans do", maybe you can sign up for a Gmail > account or something that would be more flexible... Do u want to be one of the Romans? :-) Its hell good being Roman.. Amongst many other things just to name a few advantage of being Roman are u almost never might n

Re: modules

2004-09-30 Thread Chris Devers
On Thu, 30 Sep 2004 [EMAIL PROTECTED] wrote: > Yes it does great thank you! But a few more things. Once I > create my code, how do I pass a data file in a different program to a > specific routine that lives in a different file? That's really up to you. You can have a way to pass the n

Re: modules

2004-09-30 Thread DBSMITH
Devers <[EMAIL PROTECTED]> 09/30/2004 11:04 PM Please respond to Perl Beginners List To: [EMAIL PROTECTED] cc: Perl Beginners List <[EMAIL PROTECTED]> Subject: Re: modules On Thu, 30 Sep 2004 [EMAIL PROTECTED] wrote: > I am unsure if I pissed

Re: modules

2004-09-30 Thread Chris Devers
On Thu, 30 Sep 2004 [EMAIL PROTECTED] wrote: > I am unsure if I pissed everyone off, b/c no one responded??? Some (all?) of us have jobs and lives that occasionally prevent us from giving out free advice to strangers on the internet immediately. It happens. It isn't meant personally. > I am

Re: modules

2004-06-20 Thread LRMK
I think so I am using Perl 5.8 and I never installed those modules manualy, but my scripts which uses those modules work just fine that means they comes with Perl. LRMK - Original Message - From: "aditi gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 19, 2004 7:46

Re: modules and _DATA_

2004-01-23 Thread drieux
On Jan 23, 2004, at 2:47 PM, Eric Walker wrote: [..] while { do something;}     package ONE package stuff; 1;     package main    __DATA__     data stufff yes, one can do the reset back to package main. part of the reason I opt

Re: modules and _DATA_

2004-01-23 Thread Eric Walker
On Fri, 2004-01-23 at 14:46, drieux wrote: On Jan 23, 2004, at 1:36 PM, Eric Walker wrote: [..] > > when I tried to add a package to it, I did some test and its not > reading > the DATA anymore. Is there a certain order? [..] How did you put the package in?

Re: modules and _DATA_

2004-01-23 Thread Eric Walker
On Fri, 2004-01-23 at 14:43, Randy W. Sims wrote: On 1/23/2004 4:36 PM, Eric Walker wrote: > > when I tried to add a package to it, I did some test and its not reading > the DATA anymore. Is there a certain order? __DATA__ must be in package main; #!perl

Re: modules and _DATA_

2004-01-23 Thread drieux
On Jan 23, 2004, at 1:36 PM, Eric Walker wrote: [..] when I tried to add a package to it, I did some test and its not reading the DATA anymore. Is there a certain order? [..] How did you put the package in? ciao drieux --- #!/usr/bin/perl -w use strict; my $foo

Re: modules and _DATA_

2004-01-23 Thread Randy W. Sims
On 1/23/2004 4:36 PM, Eric Walker wrote: when I tried to add a package to it, I did some test and its not reading the DATA anymore. Is there a certain order? __DATA__ must be in package main; #!perl use strict; use warnings; while () { print; } package Test; sub a {} 1; package main; # DATA mus

Re: modules and _DATA_

2004-01-23 Thread drieux
On Jan 23, 2004, at 1:27 PM, Eric Walker wrote: I have some code I want to add a package in the same file. I already have some _DATA_ in the file. Currently, the code is not seeing the _DATA_. How can I add a package in the same file then. [..] since the __DATA__ vice _DATA_ h

Re: modules and _DATA_

2004-01-23 Thread Eric Walker
On Fri, 2004-01-23 at 14:34, James Edward Gray II wrote: On Jan 23, 2004, at 3:27 PM, Eric Walker wrote: > I have some code I want to add a package in the same file. I already > have some _DATA_ in the file. Currently, the code is not seeing the > _DATA_. How can I add a pa

Re: modules and _DATA_

2004-01-23 Thread James Edward Gray II
On Jan 23, 2004, at 3:27 PM, Eric Walker wrote: I have some code I want to add a package in the same file. I already have some _DATA_ in the file. Currently, the code is not seeing the _DATA_. How can I add a package in the same file then. I believe your DATA tag at the end is the problem. It'

Re: Modules Question

2003-09-10 Thread James Edward Gray II
On Wednesday, September 10, 2003, at 05:43 PM, Hanson, Rob wrote: I googles Julian and came up with two email addresses from this page: http://www.monkey.org/openbsd/archive/misc/9904/msg00077.html Thank you. I have no idea why, but it never occurred to me to Google for a person, though it seem

RE: Modules Question

2003-09-10 Thread Hanson, Rob
I googles Julian and came up with two email addresses from this page: http://www.monkey.org/openbsd/archive/misc/9904/msg00077.html If that fails I'm not sure. The FAQ on CPAN doesn't help much with this specific case since the mails are bouncing: http://www.cpan.org/misc/cpan-faq.html#How_mainta

Re: Modules

2003-01-25 Thread Rob Dixon
Ismar Dupanovic wrote: > Got 2 modules and a driver script that uses both. Both modules > require Exporter and export their functions. However in my driver > script I have to fully qualify the function names of the SECOND > module(module->function), while the functions of the first module > become

Re: Modules

2002-07-06 Thread drieux
On Saturday, July 6, 2002, at 10:00 , John Almberg wrote: > I have a related question . . . where does @INC come from? I guess there > is > a configuration file somewhere? > > -- John more info available at perldoc perlvar a quick deconstruction: @: this is an array

Re: Modules

2002-07-06 Thread Chris Ball
> "John" == John Almberg <[EMAIL PROTECTED]> writes: John> Now that is a handy little script. Thanks! I have a related John> question . . . where does @INC come from? I guess there is a John> configuration file somewhere? It's compiled into perl itself, I believe. You can manip

RE: Modules

2002-07-06 Thread John Almberg
12:10 PM # To: [EMAIL PROTECTED] # Subject: Re: Modules # # # On Sat, 6 Jul 2002 00:17:04 -0400, [EMAIL PROTECTED] (John Almberg) # wrote: # # >What's an easy way to tell if a particular module is installed # on my server? # >I'm sure I read this somewhere, but can't fin

Re: Modules

2002-07-06 Thread zentara
On Sat, 6 Jul 2002 00:17:04 -0400, [EMAIL PROTECTED] (John Almberg) wrote: >What's an easy way to tell if a particular module is installed on my server? >I'm sure I read this somewhere, but can't find it. Thanks! I'm guessing you mean remote server , and you want it via a browser. #

Re: Modules

2002-07-06 Thread Felix Geerinckx
on Sat, 06 Jul 2002 14:44:52 GMT, Drieux wrote: > [jeeves:~] drieux% perl -MFoo::Bob -e 'use Foo::Bob' Why are you trying to load Foo::Bob twice? -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Modules

2002-07-06 Thread drieux
On Friday, July 5, 2002, at 09:17 , John Almberg wrote: > What's an easy way to tell if a particular module is installed on my > server? > I'm sure I read this somewhere, but can't find it. Thanks! > > -- John [jeeves:~] drieux% perl -MFoo::Bob -e 'use Foo::Bob' Can't locate Foo/Bob.pm in @INC

RE: Modules

2002-05-29 Thread Shishir K. Singh
Thanks!! -Original Message- From: Elaine -HFB- Ashton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 2:48 PM To: Shishir K. Singh Cc: [EMAIL PROTECTED] Subject: Re: Modules Shishir K. Singh [[EMAIL PROTECTED]] quoth: *>Wanted to know the modules that are already present

Re: Modules

2002-05-29 Thread Elaine -HFB- Ashton
Shishir K. Singh [[EMAIL PROTECTED]] quoth: *>Wanted to know the modules that are already present in the standard stable.tar.gz distribution. I had a Active Perl distribution. Now I need to install the stable.tar.gz and wanted to know the additional modules that I may have to install. http://w

Re: Modules

2002-05-03 Thread drieux
On Thursday, May 2, 2002, at 12:31 , Jackson, Harry wrote: > I am attempting to write a module and trying to follow the guidelines etc > on > how it should be done. [..] I can help as time allows... { just tag it B/C so I see that we are taking this 'Back Channel' ... hey old habits. } fo

RE: modules install ...

2002-04-16 Thread Nikola Janceski
you can't get ALL the modules using the ppm executable... sometimes you just have to download it from cpan.org and install it yourself. > -Original Message- > From: Alain Savio [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 16, 2002 1:33 PM > To: [EMAIL PROTECTED] > Subject: modules in

Re: modules install

2002-02-10 Thread Elaine -HFB- Ashton
Eric R. Jones [[EMAIL PROTECTED]] quoth: *>I had problem installing mods and getting them noticed. Since you didn't mention anything at all about the problem, I'll suggest you read the FAQ at http://www.cpan.org/misc/cpan-faq.html e. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Modules needed for Validation

2002-01-18 Thread Yeung Siu
You can use regular expressions to verify them. --- Connie Chan <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there any module can use to verify data type (String, Integer, floating, Hex, >valid email > address, valid url etc.) ? > Thank you very much. > > = Yeung Siu [EMAIL PROTECTED]

Re: modules

2002-01-08 Thread Matt C.
ECTED]> > To: TS <[EMAIL PROTECTED]> > CC: <[EMAIL PROTECTED]> > Subject: Re: modules > Date: Fri, 5 Oct 2001 12:27:27 +0200 (CEST) > > On Fri, 5 Oct 2001, TS wrote: > > > I use perl 5.005_03. > > how do I find out what modules are installed ? >

Re: modules

2002-01-08 Thread Carlin Anderson
Original Message Follows From: <[EMAIL PROTECTED]> To: TS <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> Subject: Re: modules Date: Fri, 5 Oct 2001 12:27:27 +0200 (CEST) On Fri, 5 Oct 2001, TS wrote: > I use perl 5.005_03. > how do I find out what modules are inst

Re: Modules for creating graphics and images

2001-12-12 Thread zentara
On Tue, 11 Dec 2001 17:37:16 -0500, [EMAIL PROTECTED] (Pankaj Warade) wrote: >GlacierHi Group, >I had been working on generating graphic images (want to plot some graphs >like pie-chart, bar-graph). Is there any-way of getting this done in perl. >Came to know about GD module. Is there any other m

Re: Modules for creating graphics and images

2001-12-11 Thread Adam Turoff
On Tue, Dec 11, 2001 at 05:37:16PM -0500, Pankaj Warade wrote: > GlacierHi Group, > I had been working on generating graphic images (want to plot some graphs > like pie-chart, bar-graph). Is there any-way of getting this done in perl. > Came to know about GD module. Is there any other modules whic

Re: modules installed with default install on IRIX 6.x

2001-11-28 Thread Elaine -HFB- Ashton
maarten hilgenga [[EMAIL PROTECTED]] quoth: *>Hi all, *> *>After installing Perl 5.005.03 from the CPAN port on a Silicon Graphics *>running IRIX 6.3 without any problems, I tried installing an openssl library. *>During this installation I found two errors: *> *>can't locate module strict.pm & *

Re: Modules

2001-11-16 Thread 'Elaine -HFB- Ashton'
Bob Showalter [[EMAIL PROTECTED]] quoth: *> *>require() is handy inside an eval { } block to trap whether a module *>is installed or not. Many CPAN modules use this technique. Like I said, I can't think of any good reasons for using require. e. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Modules

2001-11-16 Thread Dave Storrs
> > In practical daily use, use(); is preferred as since it compiles the > > module as soon as it sees 'use Foo::Bar;' before moving on, this will > > catch errors and scope conflicts far sooner than if you use require(); > > There aren't many good reasons to use require, at least I > > can't thin

RE: Modules

2001-11-16 Thread Bob Showalter
> -Original Message- > From: Elaine -HFB- Ashton [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 16, 2001 10:28 AM > To: [EMAIL PROTECTED] > Cc: Ray Murphy; [EMAIL PROTECTED] > Subject: Re: Modules > > > Jeff 'japhy' Pinyan [[EMAIL PROTECTED]]

Re: Modules

2001-11-16 Thread Elaine -HFB- Ashton
Jeff 'japhy' Pinyan [[EMAIL PROTECTED]] quoth: *>On Nov 16, Ray Murphy said: *> *>>When using modules, is it better to say 'use *>>Foo::Bar;' rather than 'require'. Also I've noticed *>>that some people put their 'use' or 'require' *>>statements in subroutines and not at the beginning of *>>the p

Re: Modules

2001-11-16 Thread Jeff 'japhy' Pinyan
On Nov 16, Ray Murphy said: >When using modules, is it better to say 'use >Foo::Bar;' rather than 'require'. Also I've noticed >that some people put their 'use' or 'require' >statements in subroutines and not at the beginning of >the program - what benefits does this serve - conserve >memory bec

Re: Modules

2001-11-16 Thread register
I might be wrong here but use and require both do basically the same thing ... they check to see if the module has been included before and if it has not then it reads it in. the difference is in the usage ... require takes a complete path to the actual module file and use just takes the module n

Re: modules

2001-10-05 Thread Elaine -HFB- Ashton
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth: *>On Fri, 5 Oct 2001, TS wrote: *> *>> I use perl 5.005_03. *>> how do I find out what modules are installed ? *> *>$perl -MCPAN -e autobundle *>This will first search for all installed module. Then it will search the *>cpan archive for updates... *>Per

Re: modules

2001-10-05 Thread karl
On Fri, 5 Oct 2001, TS wrote: > I use perl 5.005_03. > how do I find out what modules are installed ? $perl -MCPAN -e autobundle This will first search for all installed module. Then it will search the cpan archive for updates... Perhaps you need answere a few question if this is the very first

Re: modules

2001-08-14 Thread Rachel Coleman
> How do I know what modules are installed ? > Does the CGI_Lite module come bundled by default? This question is a CPAN FAQ, which you can read here: http://www.cpan.org/misc/cpan-faq.html#How_installed_modules You may find the other CPAN FAQs useful; the url for the full list is slightly differ

Re: modules

2001-08-08 Thread Kevin der Kinderen
Cool script. Why does a bunch list with a version of -- ??? Perl -- 5.6.1 Pod -- ??? RAS::AS5200 -- 1.04 SHA -- 2.01 Term::ANSIColor -- 1.04 Pod for example above. Tks, K Scott wrote: > Here is some code that will list all installed modules > > #!/usr/bin/perl -w > use ExtUtils::Installed; >

RE: modules

2001-08-08 Thread Scott
Here is some code that will list all installed modules #!/usr/bin/perl -w use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; } -Original Mess

Re: modules question

2001-07-30 Thread Elaine -HFB- Ashton
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth: *>Dose anyone know of a exsiting Perl module that will test to see what tape drives are available on Unix box? *> *>I looked through the some of the CPAN stuff but didn't find anything that looked like what I might need. None that I'm aware of as i

Re: modules & path to perl

2001-07-05 Thread Peter Scott
At 02:03 PM 7/5/01 -0400, David Gilden wrote: > > perldoc CPAN and look for the autobundle command. You'll have to define > > your own personal CPAN directory first, but this is the "official" > > way. Dirtier way: > > > > find `perl -e 'print "@INC"'` -name "*.pm" -print > > > >Got a long list

Re: modules & path to perl

2001-07-05 Thread Peter J. Scott
At 01:29 PM 7/5/01 -0400, David Gilden wrote: >How do I list what my ISP has on there server in terms of Modules? perldoc CPAN and look for the autobundle command. You'll have to define your own personal CPAN directory first, but this is the "official" way. Dirtier way: find `perl -e 'print

Re: modules & path to perl

2001-07-05 Thread Tyler Longren
do a 'which perl' at the command line to get the location of perl. Not sure about the modules. To get the version of perl, do 'perl --version' at the command line. Tyler - Original Message - From: "David Gilden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 1

Re: Modules question

2001-06-29 Thread Nigel G Romeril
On Win32, typing ppm verify at the command prompt will list all the modules installed on your system quit will exit the ppm tool [EMAIL PROTECTED] wrote: > Help with Modules please. > > Is there a option I can run with perl to find out if a particular module is >installed? > > Thanks, > > Anna

Re: Modules question

2001-06-29 Thread Brett W. McCoy
On Fri, 29 Jun 2001 [EMAIL PROTECTED] wrote: > Help with Modules please. > > Is there a option I can run with perl to find out if a particular > module is installed? Try perl -M -e ''. If it isn't in @INC, you'll get an error, otherwise it will return to the command-line prompt. -- Brett

Re: Modules question

2001-06-29 Thread Kevin Meltzer
Hi Anna, To find out all the modules installed on your system, refer to the following URL: http:[EMAIL PROTECTED]/msg04057.html To find out about a single one, you can do: perl -MMODULE_NAME -e 1 So, to see if CGI.pm is installed: perl -MCGI -e 1 If you see no error messages, it is installe

RE: Modules question

2001-06-29 Thread John Edwards
put use (MODULE NAME); at the top of the script. Run the script and see if it generates an error. e.g use Win32::Lanman; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 June 2001 13:36 To: [EMAIL PROTECTED] Subject: Modules question Help with Modules ple

Re: Modules (was: Require)

2001-05-22 Thread Paul
--- Peter Scott <[EMAIL PROTECTED]> wrote: > It's always seemed to me that the 'approved' way of creating modules > to import routines into another script was a bit wordy. > In a nutshell, you have to do something like > > package abc; > use Exporter; > @ISA = qw(Exp