Recommendations for setting up local Perl dev environment

2023-05-23 Thread Joe Sliva Jr.
I've been on this list for years but haven't actually used Perl lately. That being said, I have an old Perl script that I would like to start working with again but would prefer to work on it within a local dev environment. Can anyone please recommend a local Perl dev install that would work on Wi

Re: Which distribution of PERL to use

2022-07-04 Thread Joe Sliva Jr.
I'm interested in learning this also. On Mon, 4 Jul 2022 at 19:53, Mr. Faiz Ul Haq Zia wrote: > Hello, > Which one of the PERL distribution should I use on windows 11. > regards > Faiz ul haque Zeya > Senior Associate professor BUKC >

Re: CPAN will shutdown

2018-05-29 Thread William A Rowe Jr
On Tue, May 22, 2018 at 10:41 PM, Practical Perl wrote: > *search.cpan.org is shutting down* > For details read Perl NOC > . > After June 25th this page will redirect to MetaCPAN.org >

Re: Help in Perl

2012-05-07 Thread John Mason Jr
On 5/5/2012 5:42 AM, S Peter wrote: Hi I am S. Peter, a beginner in Perl program, working in XML files. I have a xml files with the following coding. "$N$" I require a small script in perl to open any xml file and just copy and write only the command starts with " in a new file. If

Re: Help on Net::Telnet perl module

2011-07-11 Thread John Mason Jr
On 7/9/2011 2:46 PM, Irfan Sayed wrote: modified the code. my $t = new Net::Telnet (Timeout => 20, Prompt => '/bash\$ $/', Dump_Log => $filename, Input_log => $file, Errmod

Re: WMI

2011-04-16 Thread John Mason Jr
On 4/16/2011 9:00 AM, Mike Flannigan wrote: I used to run this script and it worked fine. Now is gives error Can't locate WMI.pm in @INC . . . Sure enough the module is gone and I can't find it in ActiveState ppm. Anybody know what happened to this module? I Googled and couldn't find the answe

need help with subroutines & funtions

2008-09-08 Thread Raul Ruiz Jr.
I am taking an online ceu course in scripting with Unix. I have been stumped by this project. Can anyone out there help me out a bit. I created a script at the bottom and it does not quite work. What am I missing?  I know I am missing some thing but this is my first time working with perl. I kno

Issue with my subroutine/library script.

2008-09-03 Thread Raul Ruiz Jr.
I created a card shuffling program and it works fine. However, for my project I am to place the shuffling part of my code in a separate script as a subroutine. I am to remove the code that does the shuffling and include it as another function in obj13-lib.pl. So I did this and  after the first "h

issue with my subroutine/library script.

2008-09-03 Thread Raul Ruiz Jr.
I created a card shuffling program and it works fine. However, for my project I am to place the shuffling part of my code in a separate script as a subroutine. I am to remove the code that does the shuffling and include it as another function in obj13-lib.pl. So I did this and  after the first "

need help on how to make a lib.pl function.

2008-09-01 Thread Raul Ruiz Jr.
Here is a basic card shuffling program I wrote. I am learning about developing perl libraries. How do I remove my code that does the shuffling and include it as another function in a lib.pl. After the first "hand" is dealt, call the shuffling function again before dealing another, different ha

Help with probably dumb question

2006-08-06 Thread Ralph H. Stoos Jr.
All, I am a major newbie (and 53 years old to boot), but I was able to piece together a workable script that processes a CSV file. I get a CSV file once a week that has data which needs to be sorted. For the first pass, I have the script gives me an output file that contains records that meet on

Help with Stupid question

2006-07-15 Thread Ralph H. Stoos Jr.
All, Believe it or not, I looked in the three Perl books I own and could not find out how to do this. My guess is that it is simple and probably the folks that wrote the three books took it for granted. Here goes, My code is this: print "Do you wish to exclude ", $buf/25400, " from the output?

Another (hopefully more clear) plea for help with CSV data

2006-06-22 Thread Ralph H. Stoos Jr.
All, I have been asked to do something in Access or Excel which I find disagreeable. Open Source is the way to go and also, PERL is more flexible. I might even obtain a little professional development on this. My last post seemed to confuse folks (thanks to all who responded). I will try to cl

Question about creating variables from a CSV file

2006-06-21 Thread Ralph H. Stoos Jr.
All, Please forgive the long question, but duty calls me to get something done with PERL that I don't want somebody to do with Excel or Miserable Basic. The part I can't seem to get going has to do with making variables out of the header row in the CSV file. The way it needs to work is that the

Re: Windows XP Pro vs Windows 2000

2005-11-11 Thread Walter A Poor Jr
- Message from "Bakken, Luke" <[EMAIL PROTECTED]> on Thu, 10 Nov 2005 17:24:52 -0500 - To: "Walter A Poor Jr" <[EMAIL PROTECTED]>, Subject: RE: Windows XP Pro vs Windows 2000 >Walter A Poor Jr wrote: > > We have been using perl (ActiveState

Windows XP Pro vs Windows 2000

2005-11-10 Thread Walter A Poor Jr
We have been using perl (ActiveState 5.8.6) on Windows 2000 PCs for a year or so. Recently the PC techs replaced W 2000 with Windows XP Pro on one of my PCs. Most perl functionality still works, but one key operation in our main program now fails. The program prompts the user for the name of

First time with CPAN

2005-04-13 Thread Walter A Poor Jr
Hello. I am trying to install a CPAN module (Spreadsheet::ParseExcel) on a Windows PC. My difficulty is that the author had unix in mind, and is not sure how the makefile should be run in Windows. Perl itself will not handle the makefile, and the simple-minded attempt to run the makefile dir

A strange solution to warnings about uninitialized variables

2005-03-30 Thread Walter A Poor Jr
This is my third note on this subject, and I hope no-one objects. My questions (and those of other members) were why perl sometimes claims some variables have not been initialized, even when direct investigation proves that the variables in fact have valid real values. Several people suggested

Undefined vs uninitialized vs ???

2005-03-14 Thread Walter A Poor Jr
This note returns to the problem I sent to Beginner's Digest on March 3rd, and to which Errin Larsen kindly replied in issue 2478. Here is a direct copy of a small part of one of the functions in a program which worked fine for months until about two weeks ago (and which has both "use strict;"

Defined revisited

2005-03-03 Thread Walter A Poor Jr
Sorry to bother you, since I notice other people have also been asking about defined. But the answers to their questions have not helped me to this point. This morning I started seeing a vague, unhelpful warning message about an undefined variable from a program after months of successful use.

How to remove CPAN Modules

2005-02-15 Thread Aryldo G Russo Jr
Hi, this is my first message to this list, and I will begin with a problem (as a matter of fact until now the only thing I have are problems, hehe) IÂm trying to install bugzilla in my server and one of the steps I have to follow is install some CPAN modules. so far so good. the problem is th

Help optimizing script

2004-12-07 Thread JR
Greetings everyone, I'm very new to perl, so please don't laugh at my script ;-) I wrote this script to login to my work box from home and change a hosts file to reflect my home ip address. I know there is a way to do this a lot quicker and prettier. This is really just a learning experience for

Illegal octal digit??

2004-11-03 Thread Konopaske Jr,Raymond E
Forgive me if this is a dumb question. I'm a newcomer to Perl. I was trying to do something the other day and ran across this odd little problem. I had some lines in my script that looked something like this: $ddd = 8; ... if ($ddd == 08) {print ('hi');} When I tried to run, I would get the f

RE: Errors installing modules on Solaris 9

2004-07-25 Thread JR Miller
> - Original Message - > From: "JR Miller" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, July 25, 2004 6:28 AM > Subject: Errors installing modules on Solaris 9 > > > >>New to loading PERL modules and can't fig

RE: Errors installing modules on Solaris 9

2004-07-25 Thread JR Miller
Yes, I am running as root. gmake and gcc are in the path, tested this before trying the install. Thanks, -JR Miller -Original Message- From: Eliezer Ramm [mailto:[EMAIL PROTECTED] Sent: Sunday, July 25, 2004 06:00 To: JR Miller Subject: Re: Errors installing modules on Solaris 9 a

Errors installing modules on Solaris 9

2004-07-24 Thread JR Miller
in my PATH). Are there some other environment variables I'm missing? Been trying google searches, but keep coming up short. Thanks in advance, -JR Miller ERROR TEXT: cpan> install Term::ReadKey Going to read /.cpan/sources/authors/01mailrc.txt.gz Going to read /.cpan/so

Re: Learning Perl vs. c ++

2003-07-31 Thread Bruce Whealton, Jr.
Which one of these would be best equipped for SQL database work/designs? If one is a webmaster or webmaster in training, which language would have the best means for creating and marinating a dynamic database driven web site? I'm thinking in particular of a mysql database to create a dynamic data

New to list...needing help

2003-07-28 Thread Bruce Whealton, Jr.
in the path to the sendmail program. Any other suggestions would be greatly appreciated. Next I want to install a perl based blog and a bulletin board, but on different sites. Bruce Bruce M. Whealton, Jr. Publisher/Webmaster Co-Editor of Word Salad - Liter

Re: I need help using %Hashes

2003-03-26 Thread Horace Franklin Jr.
As always, your comments are deeply appreciated, Joseph. - Original Message - From: "R. Joseph Newton" <[EMAIL PROTECTED]> To: "Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 10:13 PM Subject: Re:

Re: I need help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks! - Original Message - From: "Jason Archer" <[EMAIL PROTECTED]> To: "Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 10:35 AM Subject: Re: I need help using %Hashes &

I need help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Help! I need help using %hashes to receive input from the form below. What changes would I make to the syntax of the commented lines below to do this?. my $form =

Fw: Hash/Associtative Array

2003-03-20 Thread Horace Franklin Jr.
o, and sends mail, etc).   see attached file guestbook.cgi   Horace - Original Message - From: "Hanson, Rob" <[EMAIL PROTECTED]> To: "'Horace Franklin Jr.'" <[EMAIL PROTECTED]> Sent: Thursday, March 20, 2003 5:22 PM Subject: RE: Hash/Associtative

%HASHES/Associative Arrays To receive input

2003-03-20 Thread Horace Franklin Jr.
Clear DayHello, I would like to use %HASHES/Associative arrays to accept input from a form generated within a perl script. The normal input of a html form is print " \n"; Is the syntax when using Hashes: my %hashes; print ""\n; Also what is the syntax is you want to input checkboxes with the sa

RE: I Wanna Get Weighed

2003-03-13 Thread Mr. Horace Franklin Jr.
To All, Recently, a member/user of [EMAIL PROTECTED] brought to my attention that I had addressed a joke email, I Wanna get Weighed, to [EMAIL PROTECTED] This email was sent was sent by accident. It was a mistake. Nevertheless, I owe each and every one of you an apology. Please accept my d

Re: ActivePerl 5-6-1 build 633

2003-03-13 Thread Mr. Horace Franklin Jr.
Good Point! I loaded this version because it was on a CD that came with a book I purchased. I will go to www.perl.org and download the newer version. Thank You! Horace - Original Message - From: R. Joseph Newton To: Mr. Horace Franklin Jr. Cc: [EMAIL PROTECTED] Sent

Fw: I Wanna Get Weighed

2003-03-13 Thread Mr. Horace Franklin Jr.
Clear DayI Wanna Get Weighed John took his blind date to the carnival. "What would you like to do first, Kim?" asked the man. "I want to get weighed," said the girl. They ambled over to the weight guesser. He guessed 120 pounds. She got on the scale; it read 117 and she won a prize.

ActivePerl 5-6-1 build 633

2003-03-12 Thread Mr. Horace Franklin Jr.
Clear DayMost Excellent ones, I have installed ActivePerl 5-6-1 build 633 on my PC (WIN). Can I use this program on my stand alone PC to test the syntax of perl CGI scripts? If the answer is yes. Are there any tips for configuring perl? Novice

Fw: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
NO MORE ERRORS!!! The script guestbook.cgi is working! My heartfelt thank to everyone that assisted me. > - Original Message - > From: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> > To: "R. Joseph Newton" <[EMAIL PROTECTED]> > Cc: <

Re: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
NO MORE ERRORS The script guestbook.cgi is working! - Original Message - From: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> To: "R. Joseph Newton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, Mar

Fw: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
Re: CG I Script [guestbook.cgi] > > > > Rob Dixon wrote: > > > > > Mr. Horace Franklin Jr. wrote: > > > > Rob, > > > > Disregard the email below. > > > > I have one error: > > > > > > > > Software Error: > > > &

Re: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
- Original Message - From: "R. Joseph Newton" <[EMAIL PROTECTED]> To: "Rob Dixon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, March 09, 2003 7:51 PM Subject: Re: CG I Script [guestbook.cgi] > Rob Dixon wrote: > > > Mr. Hor

Re: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
*$@ =~ s/\(eval\) $LINE (\d=)/${CGI} . " $LINE " ($START-$1-1)/e; $@ =~ s/( at ).*( line )/$1${CGI}$2/;$ *$@ =~ s/( at ).*($LINE)/$1${CGI}$2/,$ - Original Message - From: "R. Joseph Newton&quo

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
Rob, Disregard the email below. I have one error: Software Error: Can't find string terminator "E_FORM" anywhere before EOF at cgi_guestbook.cgi line 205. The code looks good to me. What does this error mean? Horace - Original Message - From: "Mr. Horace F

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
file vars.pm? Horace - Original Message - From: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Hanson, Rob" <[EMAIL PROTECTED]> Sent: Sunday, March 09, 2003 9:36 AM Subject: Re: CG I Script [guestbook.cgi] > I will add t

Re: explicit package?

2003-03-09 Thread Mr. Horace Franklin Jr.
Good information, thanks. - Original Message - From: "Wiggins d'Anconia" <[EMAIL PROTECTED]> To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 08, 2003 1:27 PM Subject: Re: explicit package? > &

Re: explicit package?

2003-03-09 Thread Mr. Horace Franklin Jr.
Good Idea Thanks! - Original Message - From: "R. Joseph Newton" <[EMAIL PROTECTED]> To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 08, 2003 1:34 PM Subject: Re: explicit package? > "Mr. Hor

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
I will add this line to my script, run it and let you know the 'exact errors' I am receiving. CGI::Carp qw(fatalsToBrowser);. >- Original Message - >From: "Hanson, Rob" <[EMAIL PROTECTED]> >To: "'Mr. Horace Franklin Jr.'" <[EMAI

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
Good idea thanks! - Original Message - >From: "Dan Muey" <[EMAIL PROTECTED]> >To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, March 07, 2003 10:37 AM > Subject: RE: CG I Script [guestbook.cgi] >

explicit package?

2003-03-08 Thread Mr. Horace Franklin Jr.
When I used the script. guestbook.cgi, I received the following errors. What is wrong with the syntax/code and what is an explicit pacakage? The file guestbook.cgi is attached. Software error: syntax error at guestbook.cgi line 109, near "h3>"  (Might be a runaway multi-line "" string starting

CG I Script [guestbook.cgi]

2003-03-07 Thread Mr. Horace Franklin Jr.
Clear DayI tired to run the script below on my host server and it would not run. The server cannot find Taintcheck or Timefuncs. I uploaded these pm file to the server. What did I do wrong? Is Apache the problem? SERVER INFORMATION: Path to Perl: /usr/local/bin/perl Path to Sendmail: /usr/sbi

RE: Output PERL to E-mail

2003-01-02 Thread David H. Lynch Jr.
Below is a perlscript to do approximately what you asked. I found it somewhere else on the web. Unfortunately I do not remember where, and I have seen several similar. It is pretty basic anyway. I have a database application that outputs pay stubs to a text file. I then use another script to conv

Win32::MAPI

2002-04-15 Thread David H. Lynch Jr.
I am looking to write a script to delete duplicate emails. Unfortunately the most useful interface to the mail system that I can use to do this would be MAPI. I seemed to recall a Win32::MAPI Perl module, and there are references to it on the web as well as examples, but I can not seem

Re: Study group for motivated people wanting to learn Perl.

2002-02-05 Thread jr
Hi, I would be interested. I would be willing to donate list hosting to support it. JR - VirtualChicagoLand.com Is Your Chicagoland Resource! Visit: http://VirtualChicagoLand.com On Tue, 5 Feb 2002, Kevin Werckman wrote: > I'm hoping to get a small study group together

RE: Would anybody tell me what is the meaning of "foo" ?

2001-12-31 Thread David H. Lynch Jr.
A related term of pretty much the same parentage is SNAFU Situation Normal All Fouled Up I am pretty sure both terms originated during WWII. -Original Message- From: Matt C. [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 30, 2001 7:22 PM To: [EMAIL PROTECTED] Subject: Re: Would any

How do you do an Array of Objects?

2001-12-18 Thread David H. Lynch Jr.
I have an object defined in the file act.pm as: package Act ; use Class::Struct ; struct Act => { nxt => '$' ,# Pointer to next Act lev => '$' ,# Level for this Act ln => '$' ,# Line Number cnt => '$' ,

My bad.....

2001-06-18 Thread Alonzo Hess Jr
I stand corrected. I did buy "Programming Perl" not "Learning Perl" Sorry! Alonzo

3rd edition of Learning Perl

2001-06-18 Thread Alonzo Hess Jr
The latest edition is the 3rd edition. It's out, I bought it Saturday at a Barns & Noble. Alonzo Hess Jr Systems Admin/SQL DBA United American Video 803.548.1056 xt163

Re: perl compiler and editor for windows

2001-06-06 Thread Alan F. Larimer, Jr.
ved words come up in a different color (so you notice when you type them incorrectly). All around WONDERFUL editor! --Alan = Alan F. Larimer, Jr. http://www.geocities.com/lrng_lnx/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

Re: $= and $~

2001-06-06 Thread Alan F. Larimer, Jr.
> You'll need to make some sort of > pager for your program. In fact, $= isn't even needed, then. > > #!/usr/bin/perl -w > > use strict; > > sub pager { > my ($fh, $func, $pause, $lines) = @_; # grab the args > local (*READ, *WRITE, *FH, *SAVE); # create local to use here > >

Re: $= and $~

2001-06-05 Thread Alan F. Larimer, Jr.
> >>$old = $=; > >>$~ = "HEADER"; > >>$= = 25; #cuz that's how many lines on the screen > >>(print some stuff with HEADER format) > >>$~ = "STDOUT"; > >>$= = $old; > >> > >>I used a print statement to ensure that $= is being set properly, > and > >>it is. But when I print stuff with HEADER forma

RE: one last attempt?

2001-06-05 Thread Alan F. Larimer, Jr.
> > this is the command line from my index.htm file > > > > > > I've made this so darn simple it should work. > > this is the perl program in my cgi-bin: > > > > #!/usr/bin/perl -w > > use strict; > > use diagnostics; > > my $count; > > $count = "12345"; > > print "-( > color=\"green\">$count)-

$= and $~

2001-06-05 Thread Alan F. Larimer, Jr.
ons, concerns, complaints? Thnx --Alan = Alan F. Larimer, Jr. http://www.geocities.com/lrng_lnx/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

Re: one last attempt?

2001-06-05 Thread Alan F. Larimer, Jr.
> Luinrandir Hernson [[EMAIL PROTECTED]] quoth: > *> > *>does anyone see why this wouldn't print to my index.htm file cause > if i can't get this simple code to work, how can i get the whole > bloody counter program to work would someone please just give me > the freaking answer on how to make

Re: return values from instance methods

2001-06-05 Thread Alan F. Larimer, Jr.
--- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Tue, 5 Jun 2001, Alan F. Larimer, Jr. wrote: > > > 1) After reading the perltoot manpage and most of the perlobj manpage, I am > > left with a question of "properness." Should instance method

return values from instance methods

2001-06-05 Thread Alan F. Larimer, Jr.
hen the reference to an object is gone? (In case you couldn't tell, it really has me lost.) TIA --Alan = Alan F. Larimer, Jr. http://www.geocities.com/lrng_lnx/ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail