Re: Perl no threads

2003-10-20 Thread Martin Mewes
Hi, Am Mo, 2003-10-20 um 16.45 schrieb William Burgos: > By default the rpm of psyche for perl comes with threads... is there is a > way thru a configuration file or some sort of installation to have the perl > rpm without threads? Sure ... a) Get the latest Source of Perl (5.8.1) from http://c

Re: Perl modules

2003-08-28 Thread Jason Dixon
On Thu, 2003-08-28 at 18:10, Stephen Atkins wrote: > Hello. I'm looking for perl-Convert-BER and it dependent perl-Math-BigInteger > for RedHat 8 and 9. I'm trying to get cricket installed but it complains about > not being able to find BER.pm. I've installed all of the perl modules I can > find

Re: Perl modules

2003-08-28 Thread edukes
CPAN > > From: "Stephen Atkins" <[EMAIL PROTECTED]> > Date: 2003/08/28 Thu PM 05:10:27 CDT > To: <[EMAIL PROTECTED]> > Subject: Perl modules > > Hello. I'm looking for perl-Convert-BER and it dependent perl-Math-BigInteger > for RedHat 8 and 9. I'm trying to get cricket installed but it complai

Re: PERL issues

2003-08-19 Thread Mark Haney
Awesome. I'll do just that then. Thanks. On Tue, 2003-08-19 at 09:06, Jason Dixon wrote: > On Tue, 2003-08-19 at 08:03, Mark Haney wrote: > > Don't get me wrong, I'm all for mailing lists/forums. I am just > > subscribed to way too many as it is just for this one probably silly > > issue. I

Re: PERL issues

2003-08-19 Thread Jason Dixon
On Tue, 2003-08-19 at 08:03, Mark Haney wrote: > Don't get me wrong, I'm all for mailing lists/forums. I am just > subscribed to way too many as it is just for this one probably silly > issue. I apologize for the wasted bandwidth. Again, Perlmonks is your best bet. You can either post a quick q

Re: PERL issues

2003-08-19 Thread Mark Haney
Don't get me wrong, I'm all for mailing lists/forums. I am just subscribed to way too many as it is just for this one probably silly issue. I apologize for the wasted bandwidth. On Mon, 2003-08-18 at 16:58, Jason Dixon wrote: > On Mon, 2003-08-18 at 15:00, Mark Haney wrote: > > I'm having all

Re: PERL issues

2003-08-18 Thread Jason Dixon
On Mon, 2003-08-18 at 15:00, Mark Haney wrote: > I'm having all kinds of issues just getting a simple web clock to work > on my web server. It's in PERL, I've followed the directions, but I'm > getting no output. It's a simple server-side include. I've got it in > Dreamweaver, yet it doesn't wor

Re: PERL 5.88 doesn't run on RH 8 gui... runs only on non-gui mode

2003-08-04 Thread Benjamin J. Weiss
On Mon, 4 Aug 2003, Didier Casse wrote: > A friend showed me a weird problem yesterday. Perl programs did not run on > his RH8 box gui (Gnome, Enlightenment, TWM) on > Eterm/Xterm/Gnome-terminal alike but when we switched by > pressing Ctrl+F1 (non-gui mode), PERL programs worked flawlessly! Any i

Re: Perl segmentation fault in RH-9

2003-07-30 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Jul 2003 16:25:02 -0700, Julius Smith wrote: > Oops - sorry - as you guessed, I didn't want to type > "[EMAIL PROTECTED]" -- my mail program (Eudora) doesn't display > "References", so I had no idea there was "hidden state" in my message

Re: Perl segmentation fault in RH-9

2003-07-30 Thread Julius Smith
Oops - sorry - as you guessed, I didn't want to type "[EMAIL PROTECTED]" -- my mail program (Eudora) doesn't display "References", so I had no idea there was "hidden state" in my message -- whose bug is that? :-) At 12:17 AM 7/31/2003 +0200, Michael Schwendt wrote: -BEGIN PGP SIGNED MESSAG

Re: Perl segmentation fault in RH-9

2003-07-30 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Jul 2003 15:55:04 -0700, Julius Smith wrote: > Where does one report a segmentation fault in perl? > As a workaround, I can simply roll back to the RH-7.3 version of perl, > which will work for me, > but I'd like to report this "perl crash

Re: Perl question

2003-06-21 Thread Ronald J Roy
On Fri, Apr 25, 2003 at 11:50:20PM -0600, Ashley M. Kirchner wrote: > > This may be a dumb question, buthow do you remove perl modules? > Like, if I installed something via CPAN that I no longer need, how do I > remove it? > to list all modules: perl find_modules.pl to remove: perl rem

RE: Perl module: Memoize problems

2003-06-17 Thread michael . bartlett
Apologies for HTML mail all... Herewith in plain text. -Original Message- From: Michael Bartlett Sent: 17 June 2003 12:40 To: [EMAIL PROTECTED] Subject: Perl module: Memoize problems Hello all, I'm trying to build Memoize on Redhat 7.3 with CPAN and get the following problem during the

Re: Perl 5.6.1 update 5.8.0 BROKEN!!

2003-06-14 Thread Ziaur Rahman
Just add the following lines in your qmail-scanner.pl script right at the begining of the script: use FindBin (); use lib "$FindBin::Bin"; For more information, see: http://perl.com/pub/a/2002/05/14/mod_perl.html?page=2 Alternatively, you can remove Perl 5.6.1 completely and reinstall Perl 5.

Re: perl setuid

2003-04-02 Thread Gary Stainburn
gt; > Cc: "Red Hat 8.0" <[EMAIL PROTECTED]> > Sent: Wednesday, April 02, 2003 10:59 AM > Subject: Re: perl setuid > > On Wed, 2 Apr 2003, Daniel Tan wrote: > > it seems like rh8 does not have setuid install as default.is there a easy > > way to install setuid

Re: perl setuid

2003-04-01 Thread Daniel Tan
AIL PROTECTED]> Cc: "Red Hat 8.0" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 10:59 AM Subject: Re: perl setuid On Wed, 2 Apr 2003, Daniel Tan wrote: > it seems like rh8 does not have setuid install as default.is there a easy > way to install setuid in perl using c

Re: Perl DBI and DBD

2003-03-26 Thread Bret Hughes
On Wed, 2003-03-26 at 13:50, Billy wrote: > I am running redhat 7.3, it was base install using the Web Server option. I > am using some perl scripts already, but my developer is telling me I need to > install modules for DBI and DBD? Shouldn't those be there by default...I > tried searching on rpmf

Re: Perl DBI and DBD

2003-03-26 Thread John Nichel
Yeah, you can find them here http://www.cpan.org/authors/id/J/JW/JWIED/ Billy wrote: Well that makes explains a little bit of it, it is a MySQL database..I guess I need to search cpan.org for the modules for MySQL? What RDMS is he/she using? What you have installed is for Postgres. Billy

RE: Perl DBI and DBD

2003-03-26 Thread Billy
al Message - From: "Billy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 13:04 Subject: RE: Perl DBI and DBD > I found on cpan.org the bundle I need to install. Which is > Bundle::DBD::mysql. It gave me the command perl -MCPAN -e '

Re: Perl DBI and DBD

2003-03-26 Thread David Busby
ke' (your compiler) was running it couldn't find those two files (mysql.h,errmsg.h). You'll need those files. They will come from the mysql-devel RPMs (I think). /B - Original Message - From: "Billy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesd

RE: Perl DBI and DBD

2003-03-26 Thread Billy
I found on cpan.org the bundle I need to install. Which is Bundle::DBD::mysql. It gave me the command perl -MCPAN -e 'install Bundle::DBD::mysql' When I run that command it appears to be doing an install, but the at the end it said. The very last line of the below states that there were problems w

RE: Perl DBI and DBD

2003-03-26 Thread Billy
Well that makes explains a little bit of it, it is a MySQL database..I guess I need to search cpan.org for the modules for MySQL? >What RDMS is he/she using? What you have installed is for Postgres. Billy wrote: > I run a rpm -qa | grep perl to see what I have installed and I see the > below to

Re: Perl DBI and DBD

2003-03-26 Thread John Nichel
What RDMS is he/she using? What you have installed is for Postgres. Billy wrote: > Go to www.perl.com and do a search for DBD and DBI. That is where I download mine from. You will need the correct DBD and DBI for the database you are trying to connect to through Perl. These modules are >

RE: Perl DBI and DBD

2003-03-26 Thread Billy
Title: RE: Perl DBI and DBD  > Go to www.perl.com and do a search for DBD and DBI.  That is where I download mine from.  You will need the correct DBD and DBI for the database you are trying to connect to through Perl.  These modules are  > not usually there by default since th

Re: Perl DBI and DBD

2003-03-26 Thread John Nichel
Look hereall the Perl modules you could ever want http://www.cpan.org/ Billy wrote: I am running redhat 7.3, it was base install using the Web Server option. I am using some perl scripts already, but my developer is telling me I need to install modules for DBI and DBD? Shouldn't those be

RE: Perl and Date:Manip [SOLVED]

2003-03-20 Thread Patrick Nelson
Anthony E. Greene wrote: > Patrick Nelson wrote: >> Hmm... darn it local config? I just did a workstation install and >> didn't install any other perl stuff. So the above script produces >> 518 lines of errors. They all start with: >> >> Malformed UTF-8 character (unexpected ... > > Google:

Re: Perl and Date:Manip

2003-03-20 Thread Anthony E. Greene
Patrick Nelson wrote: Hmm... darn it local config? I just did a workstation install and didn't install any other perl stuff. So the above script produces 518 lines of errors. They all start with: Malformed UTF-8 character (unexpected ... Google: perl error "Malformed UTF-8 character" Tony --

RE: Perl and Date:Manip

2003-03-20 Thread Patrick Nelson
[EMAIL PROTECTED] wrote: > On Wed, 19 Mar 2003, Patrick Nelson wrote: > >> #!/usr/bin/perl >> use Date::Manip; >> print "this\n"; >> exit 0; >> >> will show the problem. This same script has worked on multiple RH >> versions and Manip.pm is exactly the same as on my 7.3 and 7.2 >> systems. I'm

Re: Perl and Date:Manip

2003-03-20 Thread Anthony E. Greene
On 19-Mar-2003/23:08 -0800, Patrick Nelson <[EMAIL PROTECTED]> wrote: >Just installed RH 80 > >Tried running a script that includes a call to Date::Manip which produces a >S load of errors. Here is an example script: Post the errors. Tony -- Anthony E. Greene OpenPGP

Re: Perl and Date:Manip

2003-03-19 Thread Ed . Greshko
On Wed, 19 Mar 2003, Patrick Nelson wrote: > #!/usr/bin/perl > use Date::Manip; > print "this\n"; > exit 0; > > will show the problem. This same script has worked on multiple RH versions > and Manip.pm is exactly the same as on my 7.3 and 7.2 systems. I'm not sure > what to do with this. Anyone

RE: Perl and Date:Manip

2003-03-19 Thread Patrick Nelson
_TUXX_ wrote: > En réponse à Patrick Nelson <[EMAIL PROTECTED]>: > >> Just installed RH 80 >> >> Tried running a script that includes a call to Date::Manip which >> produces a S load of errors. Here is an example script: >> >> #!/usr/bin/perl >> use Date::Manip; >> print "this\n"; >> exit 0; >

Re: Perl and Date:Manip

2003-03-19 Thread _TUXX_
En réponse à Patrick Nelson <[EMAIL PROTECTED]>: > Just installed RH 80 > > Tried running a script that includes a call to Date::Manip which > produces a > S load of errors. Here is an example script: > > #!/usr/bin/perl > use Date::Manip; > print "this\n"; > exit 0; try : [EMAIL PROTECTED] /

RE: Perl question

2003-02-17 Thread Paul Kraus
Pass it as a referance. #!/usr/bin/perl -w @sample_array = ('hi', 'there', 'steve'); $sample_array_ref = \@sample_array; &PRINT_CONTENTS($sample_array_ref); exit 0; sub PRINT_CONTENTS{ my $local_ref = $_[0]; foreach (@{$local_ref}){ print "string = $_\n"; } } You can also clean the c

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread Cameron Simpson
On 03:50 05 Jan 2003, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: | Slick little script ...good show! Hope you find it useful. Cheers, -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ IE 5.0 introduces nothing but a bunch of DHTML extensions you'd never stoop

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread mklinke
Cameron, Slick little script ...good show! Regards, Mike Klinke On Sunday 05 January 2003 02:24, Cameron Simpson wrote: > On 13:24 04 Jan 2003, Marco Shaw <[EMAIL PROTECTED]> wrote: > | What I want: > | Take file.txt and *strip* out "foo" and replace with "bar", *but* I > | don't want to re

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread Cameron Simpson
On 13:24 04 Jan 2003, Marco Shaw <[EMAIL PROTECTED]> wrote: | What I want: | Take file.txt and *strip* out "foo" and replace with "bar", *but* I | don't want to redirect to a tmp file or anything: I would like one | command. | | Perl: | 1. perl -pi -e 's/foo/bar/g' file.txt | | SED, for example:

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread mklinke
Marco, Using vi you can vi file.txt -w scriptfile and any commands you enter in the editor will automatically be recorded and placed in the file "scriptfile". (Just enter your global replacement command and exit.) Now, on any file that you want to execute this script file against, issu

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread Brian Ashe
Marco Shaw, On Saturday January 04, 2003 12:24, Marco Shaw wrote: > What I want: > Take file.txt and *strip* out "foo" and replace with "bar", *but* I > don't want to redirect to a tmp file or anything: I would like one > command. > > Perl: > 1. perl -pi -e 's/foo/bar/g' file.txt > > SED, for exa

Re: Perl vs Shell: there's gotta be a way to...!

2003-01-04 Thread Scott Croft
Just use vi and use the %s/foo/bar/g then save it unless you don't want to do it interactively, then I'd use a tmp file, just as easy. Scott On Sat, 2003-01-04 at 10:24, Marco Shaw wrote: > What I want: > Take file.txt and *strip* out "foo" and replace with "bar", *but* I > don't want to redirect

Re: perl-libnet RedHat 8.0

2002-10-05 Thread Jonathan Gaudette
What does this have to do with the original message "WinME partitions". Please don't just reply to messages that have nothing to do with your particular message. This screws up threading for those of us who us it. Thanks. I do not have an answer for your question though, you'll probably have t

Re: perl rpm

2002-10-03 Thread [EMAIL PROTECTED]
Ok but which rpm should i use for those modules? Thx Robert P. J. Day wrote: > On Thu, 3 Oct 2002, [EMAIL PROTECTED] wrote: > > >>Hello, >> >>I have a machine with redhat 7.1 and i tried to update perl from 5.6.0 >>to 5.6.1 with rpm -U command, the problem is there is no more CGI.pm and >>oth

Re: perl rpm

2002-10-03 Thread Robert P. J. Day
On Thu, 3 Oct 2002, [EMAIL PROTECTED] wrote: > Hello, > > I have a machine with redhat 7.1 and i tried to update perl from 5.6.0 > to 5.6.1 with rpm -U command, the problem is there is no more CGI.pm and > other moduls. > > I need help as of 5.6.1 (and i'm working from memory here), stuff li

Re: Question re: perl RPM missing file

2002-09-11 Thread Barry
Thanks I'll give that a try. Barry Emmanuel Seyman wrote: On Mon, Sep 09, 2002 at 01:36:06PM -0400, Barry Lynch wrote: perl-perl-RPM 0.291-2 requires Librpm.so.0 How do I find the required Lib?? Confused newbie. You probably need to install the rpm-devel package.

Re: Question re: perl RPM missing file

2002-09-09 Thread Emmanuel Seyman
On Mon, Sep 09, 2002 at 01:36:06PM -0400, Barry Lynch wrote: > > perl-perl-RPM 0.291-2 requires Librpm.so.0 > How do I find the required Lib?? Confused newbie. You probably need to install the rpm-devel package. Emmanuel -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?

Question re: perl RPM missing file

2002-09-09 Thread Barry Lynch
I'm trying to instal; Perl on a RED Hat 7.1 installation. using the Update Agent. I get the following error message: There was a Package Dependency Problem: Unresolvable chain of dependencies perl-perl-RPM 0.291-2 requires Librpm.so.0 How do I find the required Lib?? Confused newbie. B

Re: Perl help

2002-08-28 Thread Emad Fanous
At the top of your script, add $filename = $ARGV[0] - or - $filename = shift; [EMAIL PROTECTED] wrote: > I really don't know perl, but have a good script for analyzing some of the > logs on my squid server. Anyway, I have a real simple need. Instead of > semi hardcoding the file name to ana

Re: Perl help

2002-08-28 Thread Saul Arias
On Wed, 2002-08-28 at 13:17, [EMAIL PROTECTED] wrote: > I really don't know perl, but have a good script for analyzing some of the > logs on my squid server. Anyway, I have a real simple need. Instead of > semi hardcoding the file name to analyze, I would like to pass it to the > perl script.

Re: Perl DBI:mysql

2002-07-18 Thread Stephen Spalding
Here's a test script that I use to check out a new database whenever I create a new one: #!/usr/bin/perl use DBI; $database = "oncall"; $user = "oncall"; $code = "1donca"; print "INFO: Connecting to database: $database\n"; $connection = DBI->connect("DBI:mysql:$database", $user, $cod

Re: Perl DBI:mysql

2002-07-17 Thread Andy Schuler
I think you're missing the server information in your script. If it's on the same machine as the mysql server then localhost would probably work fine. ie my ($dsn) = "DBI:mysql:databasename:localhost"; my ($username) = "username"; my ($pass) = "password"; $dbh = DBI->connect ($dsn, $username, $pa

Re: Perl and Shadowed passwords

2002-04-23 Thread \"Anth Courtney\"
Hello Greg, You should get the Shadows extension, available from ftp://ftp.eur.nl/pub/homebrew/Shadow-0.01.tar.gz and install it as per the instructions provided. Then it's just a simple call at the top fo your script Use Shadows; and you can then use getspnam instead of getpwnam to return

Re: Perl and POE and Linux RPMs, Oh My!

2002-04-22 Thread Cameron Simpson
On 14:59 22 Apr 2002, Dave Ihnat <[EMAIL PROTECTED]> wrote: | I've run into one of those issues that are inevitable when using install | packages--there's a manual installation that doesn't describe how it's | going to get along with an existing RPM installation on RedHat Linux. | I've the Perl an

Re: perl -MCPAN -e 'install Bundle::DBD::mysql'

2002-03-30 Thread Nitebirdz
On Fri, Mar 29, 2002 at 05:47:56PM +1200, Phil G wrote: > Hello all, > > I have been tring to get perl to connect to a mysql database but have been having >problems. > > Firstly my system is raq4i with mysql, php, perl installed. > > The problem i am facing is when i run the command > perl -M

Re: perl/tex question

2002-03-26 Thread Blake Thornton
> >Get the whole bookshelf on a CD thing O'Reilly sells. It has 6-7 books on > >it, and it's searchable. It costs $70-80 - about the cost of 2 books. Thanks to all who responded. I'll look into this and probably buy it. Thanks for reminding me about the perldoc command as well. b ___

Re: perl/tex question

2002-03-26 Thread Bill Crawford
On Tue, 26 Mar 2002, David Talkington wrote: > But v.2 of that bookshelf CD does not include `Learning Perl' (it was > replaced with `Perl for System Administration' ... prob'ly oughta buy > that one. Shame. It's quite a fun book. If you've already learnt the basics (i.e. you know what scala

Re: perl/tex question

2002-03-26 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: >On Tue, 26 Mar 2002, Blake Thornton wrote: > >> I've got the first edition of "programming perl." the third edition is >> out and perhaps I should buy it. Would you (or someone) suggest >> "programming perl" or "learning p

Re: perl/tex question

2002-03-26 Thread Bill Crawford
On Tue, 26 Mar 2002, Blake Thornton wrote: > Yep, I'm a beginner, but you can't learn without trying things out. No > offense at all was taken by you observing this, I appreciate the input and > especially the caution. > > I've got the first edition of "programming perl." the third edition is

Re: perl/tex question

2002-03-26 Thread cgalpin
On Tue, 26 Mar 2002, Blake Thornton wrote: > I've got the first edition of "programming perl." the third edition is > out and perhaps I should buy it. Would you (or someone) suggest > "programming perl" or "learning perl"? Another one is "Cgi programming > with perl" Get the whole bookshelf o

Re: perl/tex question

2002-03-26 Thread Blake Thornton
> That's Perl's way of scoping a variable. > > Sounds like you should do some more studying before you put a script > online, especially if this is a publicly accessible server. At your > skill level (and please understand that I'm cautioning, not > criticizing), your use of system() calls in

Re: perl/tex question

2002-03-26 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Blake Thornton wrote: >Can you (or anyone else) explain to me the command > my $rc That's Perl's way of scoping a variable. Sounds like you should do some more studying before you put a script online, especially if this is a publicly acces

Re: perl/tex question

2002-03-26 Thread Charles Galpin
On Tue, 26 Mar 2002, Blake Thornton wrote: > > > > I'm guessing it's output to stderr you are still seeing. Try > > > > chdir("/path/to/latex/files") or die "chdir failed: $!\n"; > > my $rc = system("latex filename.tex > /dev/null 2>&1"); > > > > Beautiful!! It worked great. > > Can you (or anyon

Re: perl/tex question

2002-03-26 Thread Blake Thornton
> > > >Q: How do I make perl run programs in a given directory? > > > > So, what now happens is that all the output from running tex is displayed > > on the webpage. How do I redirect the output from this to /dev/null ? > > (So, I still want it to create a .dvi file, but I want all the tex > > de

Re: perl/tex question

2002-03-26 Thread cgalpin
On Mon, 25 Mar 2002, Blake Thornton wrote: > > >Q: How do I make perl run programs in a given directory? > > So, what now happens is that all the output from running tex is displayed > on the webpage. How do I redirect the output from this to /dev/null ? > (So, I still want it to create a .dvi f

Re: perl/tex question

2002-03-25 Thread Blake Thornton
> >Q: How do I make perl run programs in a given directory? > > system("cd /path/to/latex/files; latex filename.tex"); > > Quick and dirty. Well, mostly good - at least tex is running (before it wouldn't even run). Now, I need to run this from a cgi script on a webpage (basically, I'm hoping

Re: perl/tex question

2002-03-25 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Blake Thornton wrote: >Q: How do I make perl run programs in a given directory? system("cd /path/to/latex/files; latex filename.tex"); Quick and dirty. Cheers ... -d - -- David Talkington PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

Re: perl rpms

2002-03-04 Thread Brian Ashe
Hello Charles, Sunday, March 03, 2002, 11:45:07 PM, you textually orated: CG> I always have a hard time findign perl rpms. Where do you guys go for CG> them? CG> I would just use CPAN but I'm trying (really hard) to keep my system rpm CG> based. You can always try rolling your own. If you hav

Re: perl rpms

2002-03-04 Thread Charles Galpin
On Mon, 2002-03-04 at 00:00, Hal Burgiss wrote: > On Sun, Mar 03, 2002 at 11:45:07PM -0500, Charles Galpin wrote: > > I always have a hard time findign perl rpms. Where do you guys go for > > them? > ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/DMA/CPAN/RPMS > > I don't think this has been upda

Re: perl rpms

2002-03-03 Thread Hal Burgiss
On Sun, Mar 03, 2002 at 11:45:07PM -0500, Charles Galpin wrote: > I always have a hard time findign perl rpms. Where do you guys go for > them? [hal@cadillac hal]$ grep perl-MIME-tools attic/Redhat-ls-lR -rw-rw-r-- 1 root root 269828 Feb 18 2000 perl-MIME-tools-4.124-6.src.rpm -rw-rw-r--

Re: Perl - Time Tracking

2001-03-20 Thread Clarence Donath
On Mar 19, 21:41, Ted Hilts wrote: > I have this ftp routine and want to be able to measure the time > associated with each step in the routine. You can see a routine snippet > on the list where I submitted the first problem and it is called Perl > Problem. Check out the Perl module Benchmark.

Re: Perl Problem

2001-03-20 Thread Clarence Donath
On Mar 19, 21:34, Ted Hilts wrote: > Subject: Perl Problem > I have a ftp upload routine written in perl that I run from with a LAN > and out onto the internet via a gateway/firewall machine and the perl > routine occasionally hangs or develops a socket problem. Most of the > time it works fine b

Re: Perl - Time Tracking

2001-03-19 Thread Charles Galpin
If you want really fine granularity, try something like the Time-HiRes module. As far as your other problem goes, you can set a timeout value in the constructor of Net::FTP, as well as the read and write methods. If that doesn't work, you could send yourself a signal to interrupt your program if i

Re: Perl - Time Tracking

2001-03-19 Thread Anthony E . Greene
On Mon, 19 Mar 2001 23:41:33 Ted Hilts wrote: >This is my second perl problem. > >I have this ftp routine and want to be able to measure the time >associated with each step in the routine. You can see a routine snippet >on the list where I submitted the first problem and it is called Perl >Proble

Re: perl 5.6 for RH 6.2

2001-02-22 Thread Rick Forrister
Rob Saul wrote: > > Can some kind soul point me to an rpm > of perl 5.6 for RH 6.2? So far the > only one I've found that will admit to > installing on RH 6.2 is from Active State. > (installs into /usr/local/ActivePerl-5.6) > I'd prefer to update the already installed > verion. Rob, try tucows

RE: perl

2001-01-11 Thread Charles Galpin
never done this, but what does ldd yourexectuable give you? I expect you will find you don't have some .so files in your $LD_LIBRARY_PATH charles On Tue, 9 Jan 2001, Steve Lee wrote: > let me clarify what i'm trying to do. > I wrote some script in perl with DBI DBD for oracle > I am able to

RE: perl

2001-01-09 Thread Steve Lee
let me clarify what i'm trying to do. I wrote some script in perl with DBI DBD for oracle I am able to run fine. I want to compile the perl script using perlcc. When it compiles, no problem, no errors. When i run it after i compile it, i get error about the DBD stuff. has anyone compiled perl

RE: perl

2001-01-08 Thread Charles Galpin
I'm sure he meant the DBD portion for oracle. Can't answer the question though, other than to say check out cpan.org (which you already did :) ) charles On Sun, 7 Jan 2001, Mark Basil wrote: > hmmm... someone correct me if i'm wrong, but you should not have to compile > Perl for DBI support --

RE: perl

2001-01-07 Thread Mark Basil
hmmm... someone correct me if i'm wrong, but you should not have to compile Perl for DBI support -- as this feature is provided by installing the DBI module. Try ftp.cpan.org/CPAN/modules//by-module/DBI --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Beh

Re: perl

2001-01-04 Thread Anthony E . Greene
On Thu, 04 Jan 2001 21:26:41 Steve Lee wrote: >where is the perl maillist? http://www.perl.org/ Look under "Support". Tony -- Anthony E. Greene <[EMAIL PROTECTED]> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Chat: AOL/Yahoo: TonyG05

RE: PERL broken?

2000-08-18 Thread Ron Brinkman
7; Subject: Re: PERL broken? make sure perl is truly in /usr/bin by doing a 'which perl' If it is there, do a 'od -c process.pl' and make sure you don't have a DOS end of line char at the end of the first line. hth charles On Thu, 17 Aug 2000, Ron Brinkman wrote: &

RE: PERL broken?

2000-08-18 Thread Ron Brinkman
AIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Friday, August 18, 2000 5:10 AM To: [EMAIL PROTECTED] Subject:Re: PERL broken? Hi Ron, Is the script executable? chmod +x process.pl Ron Brinkman <[EMAIL PROTECTED]> on 08/18/2000 12:18:17 AM Please respond to [EMAIL PROTECTED]

Re: PERL broken?

2000-08-18 Thread mgbutler
Hi Ron, Is the script executable? chmod +x process.pl Ron Brinkman <[EMAIL PROTECTED]> on 08/18/2000 12:18:17 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: PERL broken? Red Hat Linux 6.2 I have a strange problem getting perl to run.

Re: PERL broken?

2000-08-17 Thread Charles Galpin
make sure perl is truly in /usr/bin by doing a 'which perl' If it is there, do a 'od -c process.pl' and make sure you don't have a DOS end of line char at the end of the first line. hth charles On Thu, 17 Aug 2000, Ron Brinkman wrote: > > When I try to run "./process.pl" the error message > "

Re: Perl advice on importing file contents until certain point

2000-08-03 Thread Charles Galpin
Hi Gary This should be easy. Try this (non tested snippet) my $keep = ""; while () { # chomp; # if you want to remove newlines if (/(.*?)/i) { $keep .= $1; last; } $keep .= $_; } print "kept: $keep\n"; hth charles On Thu, 3 Aug

Re: Perl advice on importing file contents until certain point

2000-08-03 Thread Kevin Hemenway
>I am having trouble figuring out how to grab the contents of a text file up >until the first "" and then exit the operation and am needing some advice Untested, and insanely overcomplicated ;) use strict; my $line; open(FILE, "yourfile"); while () { if (/(.*).*/) { $line .= $1; } else

Re: Perl 5.6

2000-07-26 Thread Chuck Milam
On Wed, 26 Jul 2000, Pete Lancashire wrote: > Its getting harder to stay with the 5.0x versions. Whats the best way > to upgrade Perl to 5.6 ? Or, another question: Where is the Rawhide/Blue Sky RPM for Perl 5.6? -- Chuck Milam [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] w

Re: perl script for redhat iso checksums

2000-04-18 Thread Bret Hughes
Thanks for the feedback. After I sent it I thought about the fact that md5sums might not be there, but not about the open. I also figure I could make it so that I can feed it the name of the file that contains the sums so that it might be used on other things. I am easily amused and I like this

Re: perl script for redhat iso checksums

2000-04-17 Thread Charles Galpin
Bret, the only suggestions I would make are to add some error handling to the open call, and close SUMS when you are done. The error handling will help one day when you forget the md5sums file, or name it differently or something, and the close is just a good habit (perl closes it when the script

Re: perl guru help please

2000-03-17 Thread Gustav Schaffter
Erhm... In French, it becomes nul (if it's a man (or a masculine thing (like a problem))) and nulle (if it's a woman (or a feminine thing (like a solution))). But then, my wife tells me that even though men can be 'nul', women can't be considered 'nulle'. :-) Do I dear saying that's just my 0.0

Re: perl guru help please

2000-03-16 Thread James F. Kubecki
On Thu, 16 Mar 2000, Mike Stok wrote: >Oct Dec Hex Char Oct Dec Hex Char > >000 0 00NUL '\0' 100 6440@ >001 1 01SOH101 6541A

Re: perl guru help please

2000-03-16 Thread Mike Stok
On Thu, 16 Mar 2000, Philippe Moutarlier wrote: > well, I guess some people would say those guys writing the libc's don't know their >basics :=) > > For myself I thought like you : nil and NULL. Never seen NUL anywhere .. > But I am ignorant, so .. Try man ascii: [...] The followi

RE: perl guru help please

2000-03-16 Thread Juha Saarinen
> %-> well, I guess some people would say those guys writing the %-> libc's don't know their basics :=) %-> %-> For myself I thought like you : nil and NULL. Never seen NUL %-> anywhere .. %-> But I am ignorant, so .. [root@vimfuego /dev]# ls nu* crw-rw-rw- 1 root root 1, 3 May

Re: perl guru help please

2000-03-16 Thread Philippe Moutarlier
Dave Reed <[EMAIL PROTECTED]> writes: > > From: Bill Carlson <[EMAIL PROTECTED]> > > > > On Thu, 16 Mar 2000, Philippe Moutarlier wrote: > > > > > "J. Scott Kasten" <[EMAIL PROTECTED]> writes: > > > > > > > Please be more specific. Do you mean the ASCII character for > > > > the number zero,

Re: perl guru help please

2000-03-16 Thread Dave Reed
> From: Bill Carlson <[EMAIL PROTECTED]> > > On Thu, 16 Mar 2000, Philippe Moutarlier wrote: > > > "J. Scott Kasten" <[EMAIL PROTECTED]> writes: > > > > > Please be more specific. Do you mean the ASCII character for > > > the number zero, or do you mean a null character \0? > > > > > > > OH O

Re: perl guru help please

2000-03-16 Thread Bill Carlson
On Thu, 16 Mar 2000, Philippe Moutarlier wrote: > "J. Scott Kasten" <[EMAIL PROTECTED]> writes: > > > Please be more specific. Do you mean the ASCII character for > > the number zero, or do you mean a null character \0? > > > > OH OH, man, be careful : there is a guy out there ready to get a s

Re: perl guru help please

2000-03-16 Thread Philippe Moutarlier
"J. Scott Kasten" <[EMAIL PROTECTED]> writes: > Please be more specific. Do you mean the ASCII character for > the number zero, or do you mean a null character \0? > OH OH, man, be careful : there is a guy out there ready to get a stroke if you are using null -with-2-l's instead of NUL with ON

Re: perl guru help please

2000-03-16 Thread J. Scott Kasten
Please be more specific. Do you mean the ASCII character for the number zero, or do you mean a null character \0? Also, do you want the file rewritten, or are you just parsing stdin to stdout? On Thu, Mar 16, 2000 at 03:04:27PM +1100, Dan Horth wrote: > hiya - can someone tell me a neat perl on

Re: perl guru help please

2000-03-15 Thread Cameron Simpson
On Thu, Mar 16, 2000 at 03:17:11PM +1100, Dan Horth wrote: | that was a zero - they all are now! all 2Gb of text file worth of | them - thanks... just creating a large file full of 0's to test the | dat compression with. thanks loads... :) | | gotta love perl! really want to learn it properly s

Re: perl guru help please

2000-03-15 Thread Dan Horth
that was a zero - they all are now! all 2Gb of text file worth of them - thanks... just creating a large file full of 0's to test the dat compression with. thanks loads... :) gotta love perl! really want to learn it properly soon ... thanks again. dan. At 22:09 -0700 15/3/00, Philippe Moutarl

Re: perl guru help please

2000-03-15 Thread Philippe Moutarlier
Charles Galpin <[EMAIL PROTECTED]> writes: > no need to use perl, use vi! > > haha, I can barely look functional in vi > > perl -pi -e 's/\n/0/g' file > > that's a zero right? > Yes, I was also wondering : I hope that is an ASCII zero he wants to put there ... not the NULL character. P

Re: perl guru help please

2000-03-15 Thread Charles Galpin
no need to use perl, use vi! haha, I can barely look functional in vi perl -pi -e 's/\n/0/g' file that's a zero right? charles On Thu, 16 Mar 2000, Dan Horth wrote: > hiya - can someone tell me a neat perl one liner to replace a carriage return > \n with a 0 in a file > > tia - dan. -- T

Re: Perl and Serial Devices

2000-03-08 Thread Cameron Simpson
On Tue, Mar 07, 2000 at 04:10:26PM -0600, Robert Canary wrote: | I have script here as follows: | | | | open (PORTACCESS, "+>>/dev/ttyC0"); | print PORTACCESS "AT\&V1" . "\n\r"; | | alarm(10); | while () { | print; | chomp; | /OK|ERROR/ && do { | close(PORTACCESS); |

  1   2   >