Kiran, Thanks for the response. I am actually interested in the "Peace od perl code" I know that 1. "sar -r 1" will give the free memory and free swap memory...
25179
kiran
kiran_polu
Apr 18, 2007 5:23 am
Hi, You can use cron function from shell programming and add a peace of perl code. Regards . Kiran Polu ... can help you to transform your business....
25178
Ramesh Polepalli
ramesh_ps1
Apr 16, 2007 12:10 pm
Hi, I have perl - v5.8.4 and gcc version 3.4.6 installed on solaris 10. I need to connect to mysql using perl and installed DBI module for the purpose. But...
25177
merlyn@...
merlynstoneh...
Apr 16, 2007 9:34 am
... sleepygal33> Hi, I have been studying perl now for about three weeks and I really sleepygal33> am not understanding the variables regarding arrays and hash...
25176
Jenda Krynicky
jendaperl
Apr 16, 2007 8:44 am
From: "sleepygal33" <sleepdriver@...> ... It's generally better to declare variables only as you are about to start using them instead of upfront. In...
25175
Prasanna Goupal
perl_developer
Apr 16, 2007 8:11 am
Hi, If i want to store content of variable $name in cache for 1 days, how can i? Also how can i retrive same content from cache? Pls guide me on it. Prasanna...
25174
da5id
da5id@...
Apr 16, 2007 2:16 am
... Very cool - I like the option of using e as a regex evaluation option since I can envision myself needing to evaluate a lot as I do the substitution. I...
25173
sleepygal33
Apr 15, 2007 9:12 pm
Hi, I have been studying perl now for about three weeks and I really am not understanding the variables regarding arrays and hash very well. I have an...
25172
merlyn@...
merlynstoneh...
Apr 15, 2007 2:25 pm
... da5id> but when I try to use: da5id> s/\b($keyword)\b/uc $1/gi; da5id> I'm getting a literal "uc" rather than the results of the function. Any da5id>...
25171
da5id
da5id@...
Apr 15, 2007 1:13 pm
Hey all, Just wondering syntactically how to use a function within the substitution operator. I'm essentially iterating through a series of keywords and trying...
25165
Yogesh Sawant
yoga_sawant
Apr 13, 2007 10:01 am
... $data =~ s/\"//g; # remove all double quotes...
25164
kiran
kiran_polu
Apr 13, 2007 6:48 am
Hi, You can use ..split with the pattern /"/ and get rid of the quotes in the array@values. Something like this .....split(/"/,@values); should do. Rgds, Kiran...
25163
Andy Schafer
lostgameparts
Apr 11, 2007 6:07 pm
Hey Guys, I don't have any stake in this but I thought some of you might be interested. http://www.vulavala.com/forum/ It is a free web host that offers cPanel...
25161
vivek kumar
kumarvivek_2001
Apr 11, 2007 9:40 am
Hello, Mirza Abdullah JanIf you are running the perl script in Windows: Try this out. $path = "E:\data.txt"; print `findstr /n /i $Text "$path"` ; else try...
25160
Ramesh Polepalli
ramesh_ps1
Apr 11, 2007 9:12 am
HI, I am using Solaris 10 and need help in writing a script to monitor memory usage to log a message if the usage exceeds 90%. Can some one help me with it or...
25159
ramesh9999
Apr 11, 2007 2:49 am
i am new to perl and am just learning. i have a 2 question: 1.i have a file ABC_EXPORT. now i have to FTP this file to another server with the...
25158
yuva bala
yuvanbala124...
Apr 10, 2007 3:49 am
Hi, try this open IN, 'e:/test.txt' || die "cannot open the input file $!"; undef $/; $name=<IN>; @grep=$name=~/^#.*$/mg; print scalar(@grep); regards, ...
25157
Huangj
redspid@...
Apr 10, 2007 3:09 am
open(FILE, 'data.txt39;) or die $!; while (<FILE>) { if (/^#/) { print 'This is line number ', $. , "\n" } } close FILE; شع2007-04-10£¬"Mirza Abdullah Jan"...
25156
Mirza Abdullah Jan
jan576pk
Apr 9, 2007 8:24 pm
Following is the scenario A text fie name "data.txt" and contains data like # hello phone # tango mango # bus truck 12 23 34 43 32 34 # # I write a program to...
25154
Sarah fox
sarahfox1969@...
Apr 9, 2007 7:17 am
... I've emailed him/her a few days ago.. - (no response as yet).... ... Thanks, I'll look at those modules... - I guess most things improve & get rid of...
25153
Gordon Stewart
gordonisnz
Apr 9, 2007 6:53 am
Hi, its me again - re :- http://www.tt-solutions.com/products/yahoo2mbox I'm debugging the script (trying to make it go...) I I come accross some errors which...
25141
merlyn@...
merlynstoneh...
Apr 5, 2007 7:53 pm
... da5id> 1. Is there a recursive version of glob? So if I went glob("*.pl") it da5id> would traverse subdirectories as well? (This is where I used my da5id>...
25140
da5id
da5id@...
Apr 5, 2007 6:38 pm
Hey all, I wrote a script that counts how much code I've written in numbers of lines - just an excercise in recursion and perl - anyway I was wondering the...
25135
merlyn@...
merlynstoneh...
Apr 1, 2007 8:45 pm
... This is dangerous: hooyar66> $line =~ /\"(.+)\"/; because if it *doesn't* match, then: hooyar66> my $str = $1; the $1 there is the *previous* $1. Bad....
25134
hooyar66
Apr 1, 2007 5:40 pm
... is ... produces ... The code below is a solution - but is there a neater way? #!c:/perl/bin/perl.exe -w use strict; use diagnostics; my $line =...
25133
merlyn@...
merlynstoneh...
Apr 1, 2007 3:12 pm
... Sarah> Hi, Sarah> I'm more familiar with PHP than Perl -however I have been looking for Sarah> a wee while & cannot locate a php script to do this job. ...
25132
hooyar66
Apr 1, 2007 2:10 pm
... pair. ... #!c:/perl/bin/perl.exe -w use strict; use diagnostics; my $line = "hello {{ text {{innerbrace}} some text {{innerbrace2}} some text }} world"; ...
25131
hooyar66
Apr 1, 2007 12:04 pm
I have been struggling with a Regex and would appreciate some help. The regex needs to convert to underscores all the whitespace that is ... $line was...
25130
Sarah fox
sarahfox1969@...
Apr 1, 2007 11:02 am
Hi, I'm more familiar with PHP than Perl -however I have been looking for a wee while & cannot locate a php script to do this job. I have searched the web...
25129
jonnybongas2
Apr 1, 2007 9:01 am
I have a variable like the one below. It contains nested braces pair. I'd like to create a regexp that changes the variable value to the string "hello world"....