[Perl-unix-users] What am I doing wrong here...?

2006-03-06 Thread Arijit Das
I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2]   Any help here?   Thanks, Arijit vgamd127> cat test.pl#!/depot/qsc/VG1.0/bin/perl @top_output = `top -n1 -b -i | head -35`;print "$top_output[2]";$latest_CPU_l

Antwort: [Perl-unix-users] What am I doing wrong here...?

2006-03-06 Thread Georg . Mavridis
Hi Arijit, >I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2] grep returns an array which in scalar context evaluates to the number of elements in there. (There is one line containing 'load average') >Any help her

[Perl-unix-users] Populating a spreadsheet from files

2006-03-06 Thread Sharp, Craig
Hi all,   Does anyone have an example of using Perl to populate an excel spreadsheet with data from multiple files.  I need to do this automatically.   Best regards, Craig Sharp     Quicken Loans | Unix Engineer | Direct: 734.805.7839 | Fax: 734.805.5513 | [EMAIL PROTECTED] The c

RE: [Perl-unix-users] Populating a spreadsheet from files

2006-03-06 Thread Makarov, Vladimir/Medical Library
Hi, Not sure if that is what you want, but I did it once by retrieving information from MySQL database and then writing it to .csv file. When user clicks in .csv file link, it opens in Excel (IE only) Worked for me, Regards, VM -Original Message- From: [EMAIL PROTECTED] o

RE: [Perl-unix-users] Populating a spreadsheet from files

2006-03-06 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Hi, > Not sure if that is what you want, but I did it once by retrieving > information from MySQL database and then writing it to .csv file. > When user clicks in .csv file link, it opens in Excel (IE only) > Worked for me, > Regards, > VM The real question is wh

Re: Antwort: [Perl-unix-users] What am I doing wrong here...?

2006-03-06 Thread Arijit Das
Thanks a lot...   Sometimes my head gets jammed like the traffic situation in SFO and these days in Bangalore:-)   -Arijit[EMAIL PROTECTED] wrote: Hi Arijit, >I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2]