Where to hire good perlish Perl tutors?

2004-10-19 Thread perl perl
Can anyone recommend a site where I can hire a competent Perl Tutor? I wish this info is readily available on perl.com but it isn't. And searches on google and craigslist is pretty disappointing. Anyway, I don't want to spam the board so I'd appreciate it if you could email me directly. I'm getti

monitoring of logs

2004-10-19 Thread Sreedhar . Kalkunte-Venkatachala
Hi I want to script to monitor the logs. 1. Log file keep getting written ever min. 2. Whenever an exception / WARNING comes it has to send that message to chat server ( I have the script for chat )server) 3. I has to read the word like exception and warning from flat file 4. Name of the f

.txt To Mysql.......roy

2004-10-19 Thread Roime bin Puniran
Hi.. I have 30 text file that contains of sort of data about wheather...Each text file contains the information about weather in one day. So, i have 30 text file, which contains all the info about weather in 30 days(1 month). All the attributes in all the text files are same (date, date, rain sc

simple regular expression problem

2004-10-19 Thread Khairul Azmi
Hi all, I am a newbie. I just need to extract the string containing the unix account from the following text <[EMAIL PROTECTED]> SIZE=1024. Can anyone tell me how to do it in perl? Thanks in advance. Azmi -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: simple regular expression problem

2004-10-19 Thread Gunnar Hjalmarsson
Khairul Azmi wrote: I just need to extract the string containing the unix account from the following text <[EMAIL PROTECTED]> SIZE=1024. Can anyone tell me how to do it in perl? Try the docs. perldoc perlrequick perldoc perlretut perldoc perlre Thanks in advance. You're welcome. -- Gunn

Re: .txt To Mysql.......roy

2004-10-19 Thread Gunnar Hjalmarsson
Roime bin Puniran wrote: I have 30 text file that contains of sort of data about wheather... My question is, how can I dump all the data from text file into mySQL Did i need to develop some PERL script to read an extension (.txt) and read them then import them into mysql You probably need to pro

Re: .txt To Mysql.......roy

2004-10-19 Thread Gabor Urban
On Tue, 2004-10-19 at 12:12, Roime bin Puniran wrote: > Hi.. > I have 30 text file that contains of sort of data about wheather...Each text file > contains the information about weather in one day. So, i have 30 text file, which > contains all the info about weather in 30 days(1 month). All the a

RE: SQL2000

2004-10-19 Thread Bob Showalter
Mark Goland wrote: ... > Are there ODBC Drivers for Unix servers ?? Yes. I've not used any personally. > Or Alternative ways of accessing MS SQL from Unix > servers ?? I use DBD::Proxy and DBI::ProxyServer for this. Works great. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Installing Perl DBI and Oracle DBD in AIX 5.1

2004-10-19 Thread Pablo Salinas
Hi, Thanks for your help. I searched the cc_r compiler in my AIX system, then copied the path to the Makefile and everything runned smoothly. After that, I installed the Oracle DBI by following the README instructions. thanks again, Pablo Salinas --- Wiggins d Anconia <[EMAIL PRO

Need help with creating a GUI

2004-10-19 Thread Knazik, Kimberly
I have been given an assignment at work to develop a users interface using Perl/Tk. Unfortunately for me I am very new to Perl and Tk, so having said that I am trying to create a GUI that looks like the one on page 273, figure 12-7, in the book "Mastering Perl/Tk". I am most interested in being ab

: monitoring of logs

2004-10-19 Thread Sreedhar . Kalkunte-Venkatachala
Hi I want to script to monitor the logs. 1. Log file keep getting written ever min. 2. Whenever an exception / WARNING comes it has to send that message to chat server ( I have the script for chat )server) 3. I has to read the word like exception and warning from flat file 4. Name of the

RE: simple regular expression problem

2004-10-19 Thread Bob Showalter
Khairul Azmi wrote: > Hi all, > I am a newbie. I just need to extract the string containing the unix > account from the following text > > <[EMAIL PROTECTED]> SIZE=1024. I'm guessing you want to extract the string "user"? (But how do you know that that corresponds to a Unix account?) The followi

Re: Where to hire good perlish Perl tutors?

2004-10-19 Thread Wiggins d Anconia
> Can anyone recommend a site where I can hire a competent Perl Tutor? I > wish this info is readily available on perl.com but it isn't. And > searches on google and craigslist is pretty disappointing. > > Anyway, I don't want to spam the board so I'd appreciate it if you > could email me directly

RE: Need help with creating a GUI

2004-10-19 Thread Moon, John
->-Original Message- ->From: Knazik, Kimberly [mailto:[EMAIL PROTECTED] ->Sent: Tuesday, October 19, 2004 8:40 AM ->To: '[EMAIL PROTECTED]' ->Subject: Need help with creating a GUI -> ->I have been given an assignment at work to develop a users interface using ->Perl/Tk. Unfortunately for m

RE: form posting

2004-10-19 Thread Adamiec, Larry
> -Original Message- > From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] > Sent: Monday, October 18, 2004 21:04 > To: Adamiec, Larry > Cc: [EMAIL PROTECTED] > Subject: Re: form posting > > > Adamiec, Larry wrote: > > I am still trying to post form data from a secure UNIX web > server

RE: Where to hire good perlish Perl tutors?

2004-10-19 Thread Wiggins d Anconia
Be sure to group reply, and please bottom post. > I wish my local college would teach a class on Perl. To expand on the > question does anyone know of any instructor lead courses in the South > Florida area? > > A D Have you told the local college this? You might contact the local Perl Mongers

RE: form posting

2004-10-19 Thread Wiggins d Anconia
> > > > > Also not sure, but I believe you need an operator after POST, > > check the > > docs for that. > > > > >From what I read, there isn't any operator after POST and line works so I believe an operator isn't needed. > > Thank you for your help. > > Larry > Ah, yep. POST is a metho

Longitude and Latitude

2004-10-19 Thread Todd Birkenholtz
Greetings I am looking for the easiest way to take the Longitude and Latitude of a location and place a marker on a map. Can anybody point me in the right direction. Thank you Todd Birkenholtz

Re: SQL2000

2004-10-19 Thread mgoland
- Original Message - From: Jenda Krynicky <[EMAIL PROTECTED]> Date: Monday, October 18, 2004 6:52 pm Subject: Re: SQL2000 > From: Mark Goland <[EMAIL PROTECTED]> > > > - Original Message - > > > From: "Jenda Krynicky" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECT

Re: Longitude and Latitude

2004-10-19 Thread Wiggins d Anconia
> > Greetings > I am looking for the easiest way to take the Longitude and Latitude of a > location and place a marker on a map. > > Can anybody point me in the right direction. > > > Thank you > > Todd Birkenholtz > CPAN is always a good place to start, http://search.cpan.org/~lgoddard/Ima

substitute on \Z

2004-10-19 Thread Bryan Harris
Does anyone happen to know why this doesn't work as expected? perl -e '$_="1\n";s/\Z/2/g;print' Why does it print "2" twice? Assuming I have to leave the /g modifier in there, how can I prevent this? TIA. - Bryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

apache

2004-10-19 Thread E.Horn
Hey! I am a perl newcomer, and now i have to program webapplications...so i need a webserver... how do i see if there is a apache webserver installed on unix? blame on me:( regards Eva -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: form posting

2004-10-19 Thread Adamiec, Larry
> > > > > > > >From what I read, there isn't any operator after POST and > line works > so I believe an operator isn't needed. > > > > Thank you for your help. > > > > Larry > > > > Ah, yep. POST is a method provided by HTTP::Request::Common, > interesting. Of course that sort of begs the

OT: Re: apache

2004-10-19 Thread Wiggins d Anconia
> Hey! > I am a perl newcomer, and now i have to program webapplications...so i > need a webserver... > how do i see if there is a apache webserver installed on unix? > blame on me:( > regards Eva > Ask the server admin? This isn't really Perl related, yet. http://danconia.org -- To unsub

RE: form posting

2004-10-19 Thread Wiggins d Anconia
> > You were right about things being more complicated than they needed to be. I guess I read too many docs and got myself confused. > > Larry > > How refreshing, no one here will blame you for that! http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread A Taylor
Hi all, I wonder if someone can help me. What I want to do sounds so simple but I just cant crack it. I am reading in an html page and i want to change 'images/' to '../../images' but i am going round and round in circles. my code so far is this: #!/usr/bin/perl ## set up for output to be sent to

RE: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Bakken, Luke
> Hi all, > I wonder if someone can help me. What I want to do sounds so > simple but I > just cant crack it. > I am reading in an html page and i want to change 'images/' to > '../../images' but i am going round and round in circles. > my code so far is this: > > #!/usr/bin/perl > ## set up for

Re: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Steve Bertrand
> Hi all, > I wonder if someone can help me. What I want to do sounds so simple > but I > just cant crack it. > I am reading in an html page and i want to change 'images/' to > '../../images' but i am going round and round in circles. > my code so far is this: > > #!/usr/bin/perl > ## set up for ou

Re: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Remo Sanges
On Oct 19, 2004, at 5:26 PM, A Taylor wrote: the line: $line =~ tr/images\//..\/..\/images\// is where I am getting stuck the 'tr' operator work on $line changing every character in the first expression with the corresponding one in the second, it don't change an entire expression in the first w

RE: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Bakken, Luke
> > #!/usr/bin/perl > > ## set up for output to be sent to browser > > print "Content-type: text/html\n\n"; > > ## read in mp3store.html > > if (open (INFILE, "<../../mp3store.htm")) > > { > > foreach $line () > > { > > $line =~ tr/images\//..\/..\/images\// > > $line =~ s/images\//\.\.\/\.\.\

RE: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Steve Bertrand
>> > #!/usr/bin/perl >> > ## set up for output to be sent to browser >> > print "Content-type: text/html\n\n"; >> > ## read in mp3store.html >> > if (open (INFILE, "<../../mp3store.htm")) >> > { >> > foreach $line () >> > { >> > $line =~ tr/images\//..\/..\/images\// >> >> $line =~ s/images\//\

RE: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Bakken, Luke
> >> > #!/usr/bin/perl > >> > ## set up for output to be sent to browser > >> > print "Content-type: text/html\n\n"; > >> > ## read in mp3store.html > >> > if (open (INFILE, "<../../mp3store.htm")) > >> > { > >> > foreach $line () > >> > { > >> > $line =~ tr/images\//..\/..\/images\// > >> > >>

Re: substitute on \Z

2004-10-19 Thread Jeff 'japhy' Pinyan
On Oct 19, Bryan Harris said: >Does anyone happen to know why this doesn't work as expected? > >perl -e '$_="1\n";s/\Z/2/g;print' > >Why does it print "2" twice? It works as *I* expect it to. \Z matches at the end of the string, OR before a NEWLINE at the end of the string. Therefore, in the st

RE: help - $line =~ tr/images\//..\/..\/images\//

2004-10-19 Thread Jeff 'japhy' Pinyan
On Oct 19, Steve Bertrand said: >>> $line =~ s/images\//\.\.\/\.\.\/images/g; >> >> Leaning toothpicks! You don't need to escape the '.' on the >> replacement >> string side because they are literal '.' characters there. Changing >> the >> delimiter to something other than '/' will eliminate the n

Generate a perl list file

2004-10-19 Thread Li, Aiguo (NIH/NCI)
Dear all. I have a tab delimited file as follow: V namep 1.0 AAA 0.001 0.9 BBB 0.003 0.8 CCC 0.004 . I need to convert the file into following format: { labels = ( {v="1.0"; name = "AAA"; p = "0.001"; }, {v="0.9

Re: Generate a perl list file

2004-10-19 Thread JupiterHost.Net
I have not been able to make the following code work yet and would like to hear your suggestion for a better option. The following is my thought at this point. Use strict and warnings :) print "{ labels =\n"; print "\t\t (\n"; open IN "tag.txt"; That shoudl error out because there;s no

Re: SQL2000

2004-10-19 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > Sure, >While looking at my code, looks like its trying to connect to >default port. I am unable to get it to connect to my port [ 1444 ], >here is the code > > #!PERl > use warnings; > use strict; > $|=1; > use DBI; > > my $user='username'; > my $password =

Re: Generate a perl list file

2004-10-19 Thread John W. Krahn
[ Please do not top-post. TIA ] [ Please TRIM your posts. TIA ] [ Please don't reply to a previous post unless you are contributing to that thread. TIA ] Li, Aiguo (NIH/NCI) wrote: Dear all. Hello, I have a tab delimited file as follow: V namep 1.0 AAA 0.001 0.9 BBB

Multiple Perl installations

2004-10-19 Thread mgoland
I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one of my machines. When ever I installed new modules it alway's installs them under my latest Perl installation [ 5.8.3 ], but now I have a need to compile a module against my old Perl, is there any documentation that describes

Re: Multiple Perl installations

2004-10-19 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one > of my machines. When ever I installed new modules it alway's installs > them under my latest Perl installation [ 5.8.3 ], but now I have a > need to compile a module against my old Perl, > is there a

RE: .txt To Mysql.......roy

2004-10-19 Thread Jim
> Hi.. > I have 30 text file that contains of sort of data about > wheather...Each text file contains the information about > weather in one day. So, i have 30 text file, which contains > all the info about weather in 30 days(1 month). All the > attributes in all the text files are same (date

Re: Multiple Perl installations

2004-10-19 Thread Wiggins d Anconia
> > I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one of my machines. When ever I installed new modules it alway's installs them under my latest Perl installation [ 5.8.3 ], but now I have a need to compile a module against my old Perl, is there any documentation that describe

Trying to use regex to make multiple change with a code segment

2004-10-19 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Trying to make a subject line change for a number of scripts, but having no luck. The original code will have something like: $MySubject = sprintf "%-s%-s%-s [descriptive Subject] for %-s\n", $GlblInfo{subjectprefix}, $

Need help to calculate average value in hash

2004-10-19 Thread Pete Tong
Hi All, I have file: PHI: 15 CA: 32 NY: 14 PHI: 35 NY: 11 CA: 22 NY: 23 CA: 36 I need to put it into hash. Key – State, Value – Number (Average Value!!!) So in output I should have: PHI:25 CA:30 NY:16 - Do you Yahoo!? Yahoo! M

Re: Need help to calculate average value in hash

2004-10-19 Thread Gunnar Hjalmarsson
Pete Tong wrote: I have file: PHI: 15 CA: 32 NY: 14 PHI: 35 NY: 11 CA: 22 NY: 23 CA: 36 I need to put it into hash. Key – State, Value – Number (Average Value!!!) So in output I should have: PHI:25 CA:30 NY:16 Thanks for letting us know about your needs. Out of curiosity, when will you start the c

Re: Multiple Perl installations

2004-10-19 Thread Mark Goland
- Original Message - From: "Jenda Krynicky" <[EMAIL PROTECTED]> To: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Tuesday, October 19, 2004 4:50 PM Subject: Re: Multiple Perl installations > From: [EMAIL PROTECTED] > > I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one

perl and rrdtool changing directory problem

2004-10-19 Thread Mauro
Hi All, I'm doing some perl script to build some graphs from rrd databases. I use RRDs module. There are no problem if I run the script from directory in which there are rrd databases file but I'm not able to tell to my script to refer to this directory if it is in another path. I can't use with