Re: CSV file

2007-09-21 Thread John W. Krahn
Ken Foskey wrote: On Fri, 2007-09-21 at 15:50 +0500, [EMAIL PROTECTED] wrote: There is a report that is generated from a script as a plain text file. I need to take this output file as input for my script and join them and create a CSV file and mail to me daily. How can I create CSV file with out

RE: System

2007-09-21 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Somu [mailto:[EMAIL PROTECTED] > Sent: Friday, September 21, 2007 08:27 > To: Beginners@perl.org > Subject: System > > About that PID problem, i found a program in Windows named tasklist, > it prints all the processes running on the system with its id. I used

Re: CSV file

2007-09-21 Thread Jonathan Lang
On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > There is a report that is generated from a script as a plain text file. I > need to take this output file as input for my script and join them and create > a CSV file and mail to me daily. How can I create CSV file with out using > modul

How print a Hashtable with reference ?

2007-09-21 Thread Santana
Hei all, how print a hashtable elements in a function that receives the reference of this hastable ??? In this example this foreach loop in "printHT" function dont work , how is missed ? #!/usr/bin/perl use strict; use warnings; sub printHT($) { my $T =$_[0]; foreach my $id (keys (%$T

Re: forms LWP

2007-09-21 Thread Tom Phoenix
On 9/21/07, Pat Rice <[EMAIL PROTECTED]> wrote: > Basically what I want to do is the follwoing, > > 1. create a web from to take in a number > > 2. then use this number to create LWP download of a web page > > 3. I regex out the bits that I want and then place the regexed out info, > into a drop d

Re: Pbm in Sorting the hash

2007-09-21 Thread John W. Krahn
sivasakthi wrote: Hi all, Hello, I have file like that following, site_name access_time www.google.com14:13:04|14:13:04| 172.16.5.49 14:12:10|14:12:56| 172.16.65.53 14:12:41|14:12:58| 172.16.671.35 14:12:29| from the abov

Re: Pbm in Sorting the hash

2007-09-21 Thread Chas. Owens
On 9/21/07, sivasakthi <[EMAIL PROTECTED]> wrote: > Hi all, > > I have file like that following, > > site_name access_time > www.google.com14:13:04|14:13:04| > 172.16.5.49 14:12:10|14:12:56| > 172.16.65.53 14:12:41|14:12:58| > 172.16.671.35

Re: CSV file

2007-09-21 Thread Chas. Owens
On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: snip > If I am joining this with a ',' and saving renaming the text file to CSV will > help or is > there any other way to do it? snip While that will work, you will have problems if your fields contain a , or a an embedded newline. This

System

2007-09-21 Thread Somu
About that PID problem, i found a program in Windows named tasklist, it prints all the processes running on the system with its id. I used the system command to execute the tasklist, like as my $data = system "tasklist" ; but i got nothing in $data. How can i get the data from the system command?

Re: CSV file

2007-09-21 Thread Ken Foskey
On Fri, 2007-09-21 at 15:50 +0500, [EMAIL PROTECTED] wrote: > There is a report that is generated from a script as a plain text file. I > need to take this output file as input for my script and join them and create > a CSV file and mail to me daily. How can I create CSV file with out using > mo

Re: "libc.so.6: version `GLIBC_2.4' not found" when running library on different machine

2007-09-21 Thread Tom Phoenix
On 9/20/07, Mark Ventimiglia <[EMAIL PROTECTED]> wrote: > I then grabbed the entire blib directory that I built and moved it to > my web server. It fails with the following So, then I transplanted Larry's brain into the chipmunk No, that never works. You can't simply move compiled libraries b

Re: Pbm in Sorting the hash

2007-09-21 Thread Rob Dixon
sivasakthi wrote: Hi all, I have file like that following, site_name access_time www.google.com14:13:04|14:13:04| 172.16.5.49 14:12:10|14:12:56| 172.16.65.53 14:12:41|14:12:58| 172.16.671.35 14:12:29| from the above file i n

Re: Pbm in Sorting the hash

2007-09-21 Thread Tom Phoenix
On 9/21/07, sivasakthi <[EMAIL PROTECTED]> wrote: > open(FILE,:/tmp/test.txt/" or die "cant open the file"); You probably meant a quote mark instead of a colon there. > foreach $dname (sort {$noofconns{$b} <=> $noofconns{$a}} %noofconns) It looks as if you want to use the keys() function there,

forms LWP

2007-09-21 Thread Pat Rice
Hi all I'm looking for direction here again. Basically what I want to do is the follwoing, 1. create a web from to take in a number 2. then use this number to create LWP download of a web page 3. I regex out the bits that I want and then place the regexed out info, into a drop down box so that

Re: Environment variable evaluation in a conditional

2007-09-21 Thread Rob Dixon
[EMAIL PROTECTED] wrote: On Sep 20, 2:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote: [EMAIL PROTECTED] wrote: I am currently trying to write a Perl program in a Solaris 9 environment I am trying to process a list of variables with UNIX environment variables embedded in them of the form $dir_to_

CSV file

2007-09-21 Thread manojkumarg
There is a report that is generated from a script as a plain text file. I need to take this output file as input for my script and join them and create a CSV file and mail to me daily. How can I create CSV file with out using modules. Taking a sample report Hostname IP address

Pbm in Sorting the hash

2007-09-21 Thread sivasakthi
Hi all, I have file like that following, site_name access_time www.google.com14:13:04|14:13:04| 172.16.5.49 14:12:10|14:12:56| 172.16.65.53 14:12:41|14:12:58| 172.16.671.35 14:12:29| from the above file i need to print the sit

"libc.so.6: version `GLIBC_2.4' not found" when running library on different machine

2007-09-21 Thread Mark Ventimiglia
I am trying to run a customized version of the GD graphics library from a Perl script on my web page, which is hosted by another company. To do this, I downloaded GD, the libraries on which it depends, and the Perl GD interface module to my FC6 machine. I then made the edits I need and built and in

I18N

2007-09-21 Thread Octavian Rasnita
Hi, Does anyone know if there is a way of creating a .pot file with the found strings that can be translated from Template-Toolkit templates? (Other than extracting the strings manually, of course) Thank you. Octavian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Environment variable evaluation in a conditional

2007-09-21 Thread smdspamcatcher
On Sep 20, 2:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > > I am currently trying to write a Perl program in a Solaris 9 > > environment > > I am trying to process a list of variables with UNIX environment > > variables embedded in them of the form > > $dir_to_check =