Module problems

2002-01-22 Thread Derya Sezen
I got the `strerr` in the attachement. All the modules are installed, and the unlocateable pm's are all installed. Anyone got any idea about this? funky -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Module problems (fwd)

2002-01-22 Thread Derya Sezen
I got the `strerr` in the attachement. All the modules are installed, and the unlocateable pm's are all installed. Anyone got any idea about this? funky Can't locate loadable object for module HTML::Parser in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503

GD Module

2002-01-22 Thread angelo . bettati
Hi to All, I' ve a problem: I use Win95 with Perl and Apache. When I display, with a browser, a file.cgi made using GD module, I obtain an error because I' ve not installed all C libraries of GD module. Is there an exe for Win95 which contains all the libraries for well using the GD module or I

Re: cronjob problem

2002-01-22 Thread sachin balsekar
2 - standard error... 1 - standard op..thats the file... - background proc. regs, sgb Rahul Garg wrote: Hello, redirecting output is working. i am using script outputfile but what is meant by- script logfile 21 Thanks, Rahul - Original Message - From: sachin balsekar [EMAIL

Re:How to pass arguments

2002-01-22 Thread Jorge Goncalvez
hi, I have the following code: . sub MakeSixthEntry() { $box = $_Globals{POPUP_FRM}-BrowseEntry( -variable = \$_Globals{LX_VERSION}, -choices =\@IPREAL, -browsecmd =\MakeEth, -listwidth =60,

Re: Form-Click questions

2002-01-22 Thread Briac Pilpré
Guy Davis wrote: I apologize if this is making no sense. Since I am using someone else's code I still have a lot of fuzziness about what is actually happening. A little nudge in the right direction would be helpful and greatly appreciated. Maybe you would find the webchatpp application

regular expression help

2002-01-22 Thread David Samuelsson (PAC)
Hello! if i have this line ROXETTE_PC_SW_R1D08 (locked) and just want to remove the (locked) part from it with an regexp how would that look? i can do: s/(locked)// that leaves the pesky () how can i get rid off those? //Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: regular expression help

2002-01-22 Thread John Edwards
Escape the brackets like so. s/\(locked\)//; John -Original Message- From: David Samuelsson (PAC) [mailto:[EMAIL PROTECTED]] Sent: 22 January 2002 09:37 To: '[EMAIL PROTECTED]' Subject: regular expression help Hello! if i have this line ROXETTE_PC_SW_R1D08 (locked) and just want to

RE: regular expression help

2002-01-22 Thread marcus_holland-moritz
Try: s/\s+\(locked\)// The parens are meta-symbols in regexes and need to be escaped if you want to match them. The above will additionally make sure that the blanks before (locked) are also removed. HTH, Marcus | -Original Message- | From: David Samuelsson (PAC) [mailto:[EMAIL

RE: regular expression help

2002-01-22 Thread Jonathan E. Paton
| Hello! | | If I have this line ROXETTE_PC_SW_R1D08 (locked) | and just want to remove the (locked) part from it | with an regexp how would that look? | | I can do: s/(locked)// that leaves the pesky () how | can I get rid off those? Try: s/\s+\(locked\)// The parens are

type of fields

2002-01-22 Thread nafiseh saberi
hi. hope you be fine. how can I understand the type of field of table that build in past ? (in postgres) thx for your favour. ___ Have a nice day Sincerely yours Nafiseh Saberi When I was little , I would pray to God not because I believed

change type of fields

2002-01-22 Thread nafiseh saberi
hi. hope you be fine. how can I change type of field in table that build in past ? (in postgres) thx for your favour. ___ Have a nice day Sincerely yours Nafiseh Saberi When I was little , I would pray to God not because I believed In God

RE: How do I start or load a new page

2002-01-22 Thread Bob Showalter
-Original Message- From: Remo, Sherwin [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 6:45 PM To: '[EMAIL PROTECTED]' Subject: How do I start or load a new page Hi! Is there a command in perl that refreshes the screen? Like the clear(); command in C or the CLS

RE: Term::ReadKey on Win32 Changing Readmode?

2002-01-22 Thread Meidling, Keith
Well I'm on Win32 Platform and it works fine for me... This code snippet I used came from the Perl Cookbook p530. I have made some changes from that code, but here's what I use. print Enter your Password: ; ReadMode 'noecho'; $pass1 = ReadLine 0; ReadMode

Multi threading in Perl

2002-01-22 Thread srinivas krish
Hi, I want to start a server and a client script using a perl scripting. I was wondering if this can be efficiently done using the multithreading feature in perl script. Can anyone give sample scripts that brings up some server and a client using the same script. Also is there anyway to bring

PDF

2002-01-22 Thread Elias Assmann
Hello, I'm thinking about writing a program that would need to (among other things) produce PDFs as output. I know there are perl modules that can do that, but does anyone have any experience with them? Are they easy to learn to use (if I do it, I won't have to much time)? What's the quality of

Re: connecting perl to windows db

2002-01-22 Thread Johnathan Kupferer
If you are connecting from a Win32 machine to a database you can configure your ODBC databases through the control panel. Lets say you called the database 'example'. You can now connect to the database using: my $dbh = DBI-connect('dbi:ODBC:example',$user,$passwd); Of course, you will have

Re: type of fields

2002-01-22 Thread Peter Scott
At 03:09 PM 1/22/02 +0330, nafiseh saberi wrote: hi. hope you be fine. how can I understand the type of field of table that build in past ? (in postgres) thx for your favour. Sounds like your question is about Postgres, not Perl. Try asking on comp.databases.postgresql.questions. -- Peter

Re: Using system variables (M$ OS's)

2002-01-22 Thread Matthew Peter Lyon
please refain from using MS mail's (Outlook et. al.) auto-verification feature to this mailing list. It's very annoying. -mL - Original Message - From: Mason, Andrew [EMAIL PROTECTED] To: Briac Pilpré [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 21, 2002 8:13 AM Subject:

Re: Using system variables (M$ OS's)

2002-01-22 Thread Matthew Peter Lyon
It's this option tracked by MS's mail software (e.g. Outlook + Outlook Express) that actually sends a receipt to the receiver of a mail-message with the encoding(( for this receipt generation to occur tagged in there.)) It comes up as a dialog box in Outlook saying 'Do you want to ack. receipt

RE: Question -

2002-01-22 Thread Imtiaz ahmad
Can we read multiple variable like that? For example, if we have ID_1, ID_2, ID_3 ...ID_n and user_1, user_2, user_3 ...user_n name_1, name_2, name_3 ...name_n and phone_1, phone_2, phone_3 ...phone_n thanks. -Original Message- From: Imtiaz ahmad [mailto:[EMAIL PROTECTED]] Sent:

Re: Problem with Hashes

2002-01-22 Thread Jeff Bisbee
Can you include a dump of the Data Structure in quesiton and possibly a bigger snippet of what you're trying to do? Jeff SIDE NOTE... When things get crazy in your data structures its a good idea to take a peak and

perk-tk.rpm

2002-01-22 Thread richard noel fell
I have been unable to find a source for the tk module. My google searches have been fruitless. Does anyone have a pointer to a tk.rpm for redhat linux 7.1? Thanks, Dick Fell -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question -

2002-01-22 Thread Imtiaz ahmad
Is it possible to read them without IF ELSE by somehow reading all variable together in each LOOP? for example, ID_1, USER_1, NAME_1 in first LOOP and thenID_2, USER_2, NAME_2 in second LOOP with the current set up we will be reading one variable with each LOOP and if we have two set of

Logging IP address to a file from the web.

2002-01-22 Thread Michael Pratt
I cant seem to get this to work is there something Im missing? $logfile = '/logs/ipaccess.log'; $date = scalar localtime; open(IPLOG, $logfile) || die Cannot open $logfile; $ip = $ENV{'REMOTE_ADDR'}; print IPLOG $date ; print IPLOG $ip \n; close IPLOG; Mike -- To unsubscribe, e-mail:

Re: PDF

2002-01-22 Thread Cabezon Aurélien
Elias Assmann writes: Hello, I'm thinking about writing a program that would need to (among other things) produce PDFs as output. I know there are perl modules that can do that, but does anyone have any experience with them? Are they easy to learn to use (if I do it, I won't have to

Re: to die, croke, or confess

2002-01-22 Thread Lei Won Loo
one way is to redirect STDERR. put the following code at the beginning of your program, and all errors will be printed to errorlog. open (STDERRBACKUP, STDERR); ## create backup copy of STDERR open(STDERR, errorlog) or die problem redirecting STDERR.; print STDERR This text was sent to

Re: Perl Module for Server Statistics

2002-01-22 Thread Elaine -HFB- Ashton
Andre' Solomon [[EMAIL PROTECTED]] quoth: * *I'm looking for a Perl Module that would allow me to determine some basic server statistics such as uptime, CPU usage per process, total CPU usage, disk usage, etc. Can someone point me in the right direction please. If you are using Solaris Orca

What is wrong with this?

2002-01-22 Thread Michael Pratt
I am trying to log the users IP via the web and nothing happens the date nore the ip get there. Also if I put the append to the open statement I get an error via the web also. This is the code. I got it to show up via the web but it never gets to the file. Is there something I am missing?

Re: change type of fields

2002-01-22 Thread Ahmed Moustafa
Hi Nafiseh, Based on this document http://techdocs.postgresql.org/techdocs/updatingcolumns.php, this feature has not been implemented yet in postgres. I think you can dump this column to a file, or a dummy table, and drop it. Then, you can add it again with the correct type and load your

Perl Help

2002-01-22 Thread Mike
I dont thing my ISP's News Server is working properly so I will thry it from here. I am trying to log the users IP via the web and nothing happens the date nore the ip get there. Also if I put the append to the open statement I get an error via the web also. This is the code. I got it to show

Re: PDF

2002-01-22 Thread Jonathan E. Paton
I'm thinking about writing a program that would need to (among other things) produce PDFs as output. I know there are perl modules that can do that, but does anyone have any experience with them? Are they easy to learn to use (if I do it, I won't have to much time)? What's the quality of

Perl system command

2002-01-22 Thread Kevin Kirwan
Guys, I've got a newbie question: I'm writing a Perl program to get some system information about particular users. The command(s): $command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}'); $Last=system $command; print $Last; This returns the fields that I want, except I also get the return

news articles database

2002-01-22 Thread Hughes, Andrew
I want to create an website where my brother can load his news articles for searching, sorting, displaying and printing online. I can figure out the basics with perl (CGI.pm and DBI) and mySQL. However, I was wondering what would be the best way to go about storing each article's content

RE: What is wrong with this?

2002-01-22 Thread John Edwards
errors out via the web What error message do you get? Is there anything in the Apache error logs that's relevant? Does the web server account have write access to the ipaccess.log file? John -Original Message- From: Michael Pratt [mailto:[EMAIL PROTECTED]] Sent: 22 January 2002 11:44

Re: perk-tk.rpm

2002-01-22 Thread Jon Molin
did you try at cpan? http://search.cpan.org/ /Jon richard noel fell wrote: I have been unable to find a source for the tk module. My google searches have been fruitless. Does anyone have a pointer to a tk.rpm for redhat linux 7.1? Thanks, Dick Fell -- To unsubscribe, e-mail: [EMAIL

RE: Count Words

2002-01-22 Thread Booher Timothy B 1stLt AFRL/MNAC
Wow -- that is really cool. I am going to go review hashes. How crazy compact! thanks a lot, Tim -Original Message- From: Peter Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 9:40 AM To: Booher Timothy B 1stLt AFRL/MNAC; '[EMAIL PROTECTED]' Subject: Re: Count Words

Re:IO::Socket::Inet

2002-01-22 Thread Jorge Goncalvez
Hi, i have this use IO::Socket; $port=21; $server=155.132.48.23; #$server=192.40.54.41; $sock = IO::Socket::INET-new(PeerAddr =$server, PeerPort = $port, Proto = 'tcp') ;

RE: IO::Socket::Inet

2002-01-22 Thread Bob Showalter
-Original Message- From: Jorge Goncalvez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 11:42 AM To: [EMAIL PROTECTED] Subject: Re:IO::Socket::Inet Hi, i have this use IO::Socket; $port=21; $server=155.132.48.23; #$server=192.40.54.41; $sock =

Re: Perl system command

2002-01-22 Thread Jeff 'japhy' Pinyan
On Jan 22, Kevin Kirwan said: $command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}'); $Last=system $command; print $Last; This returns the fields that I want, except I also get the return code (0), No. This prints the fields you want when you call system(), and returns the error code (0)

Re: Count Words

2002-01-22 Thread Frank
On Tue, Jan 22, 2002 at 07:39:31AM -0800, Peter wrote: If we accept the set of word characters as being defined by \w, your problem can be solved with this code: my %word; while () { $word{$_}++ for /(\w+)/g; } ---end quoted text--- Not to forget Perls

Re: Perl system command

2002-01-22 Thread Jenda Krynicky
From: Kevin Kirwan [EMAIL PROTECTED] Guys, I've got a newbie question: I'm writing a Perl program to get some system information about particular users. The command(s): $command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}'); $Last=system $command; print $Last;

Re: PDF [went OT]

2002-01-22 Thread Jenda Krynicky
From: Jonathan E. Paton [EMAIL PROTECTED] TeX --- Big boys stuff, many publishers use tools based on this nearly immortal typesetting language. Want to write a two thousand page book with many mathematical formula? This is what you'd use. I haven't used it

Re: Count Words

2002-01-22 Thread Jeff 'japhy' Pinyan
[Peter: what does Aspirat primo Fortuna labori mean? I've gotten a partial translation, but I'm not satisfied with it.] On Jan 22, Frank said: On Tue, Jan 22, 2002 at 07:39:31AM -0800, Peter wrote: $word{$_}++ for /(\w+)/g; Not to forget Perls default settings for split (the same

Re: TeX [went further OT]

2002-01-22 Thread Jason Leonard
TeX Unix only. Nope. I'd be really really surprised if there was no Windoze version now. TeX on the Great Satan info here: http://directory.google.com/Top/Computers/Software/Typesetting/TeX/DOS_and_Windows/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: PDF

2002-01-22 Thread Elias Assmann
Firstz of all thank you all who answered. Considering the responses I got I should have included more information (I rather expected something like: Yes, I've used Some::PDF::Module, works great and does all you need, which is why I asked like I did): The program will eventually run on a Windoze

adding date to filename.

2002-01-22 Thread Alex Harris
$errlog = `date.MainDeploy.%m%d%y`; why doesn't this work? It does in unix. Also what's the way I add a date to file name? I'd like to create the following convention. plantname.date.log Error.plant.date.log. _ MSN Photos is

RE: PDF

2002-01-22 Thread Ryan Guy
I can recommend a way: My way or the highway. where the hell did that come from? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: news articles database

2002-01-22 Thread Johnathan Kupferer
Unless these are massive files I would say just store them in the MySQL database as a text field. Don't worry about your markup DBI's quote method will take care of all of that nastiness. If you are set on having separate files, I would say just make them HTML snippets and name them however

Re: Count Words

2002-01-22 Thread Frank
On Tue, Jan 22, 2002 at 12:47:02PM -0500, Jeff wrote: [Peter: what does Aspirat primo Fortuna labori mean? I've gotten a partial translation, but I'm not satisfied with it.] It means Fortune favours your first effort.. Mia Culpa Yours does not match the same words, though. Peter's code

Trying to install another DBI database driver

2002-01-22 Thread Rupert Heesom
I'm trying to get a perl script to access a Postgres database that I've just installed. I have DBI installed, but only with the default drivers. I've installed both PG and the perl driver through RPMs. Do I assume that the RPM postgresql-perl is the DBD driver that I need? If so, how do I

Re: adding date to filename.

2002-01-22 Thread Jenda Krynicky
From: Alex Harris [EMAIL PROTECTED] $errlog = `date.MainDeploy.%m%d%y`; why doesn't this work? It does in unix. Also what's the way I add a date to file name? I'd like to create the following convention. plantname.date.log Error.plant.date.log. Do not shell out

converting special chars [OT]

2002-01-22 Thread miette
I'm using this line of Perl to make some conversions in a text file: grep( s/\\325/'/g, @text ); To convert all \325 to ' But how can I convert a numeric code (\300) to an upside down question mark (as in Spanish)? __ Do You Yahoo!? Send FREE

Re: Multi threading in Perl

2002-01-22 Thread Rocco Caputo
On Tue, 22 Jan 2002 14:47:00 + (GMT), Srinivas krish wrote: Hi, I want to start a server and a client script using a perl scripting. I was wondering if this can be efficiently done using the multithreading feature in perl script. Can anyone give sample scripts that brings up some

Re: Count Words

2002-01-22 Thread Jeff 'japhy' Pinyan
On Jan 22, Frank said: On Tue, Jan 22, 2002 at 12:47:02PM -0500, Jeff wrote: [Peter: what does Aspirat primo Fortuna labori mean? I've gotten a partial translation, but I'm not satisfied with it.] It means Fortune favours your first effort.. Mia Culpa s/Mia/Mea/, I think. Thanks for the