Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 25129 - 25180 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
25129
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"....
jonnybongas2
Offline Send Email
Apr 1, 2007
9:01 am
25130
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...
Sarah fox
sarahfox1969@...
Send Email
Apr 1, 2007
11:02 am
25131
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...
hooyar66
Offline Send Email
Apr 1, 2007
12:04 pm
25132
... pair. ... #!c:/perl/bin/perl.exe -w use strict; use diagnostics; my $line = "hello {{ text {{innerbrace}} some text {{innerbrace2}} some text }} world"; ...
hooyar66
Offline Send Email
Apr 1, 2007
2:10 pm
25133
... 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. ...
merlyn@...
merlynstoneh...
Online Now Send Email
Apr 1, 2007
3:12 pm
25134
... 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 =...
hooyar66
Offline Send Email
Apr 1, 2007
5:40 pm
25135
... This is dangerous: hooyar66> $line =~ /\"(.+)\"/; because if it *doesn't* match, then: hooyar66> my $str = $1; the $1 there is the *previous* $1. Bad....
merlyn@...
merlynstoneh...
Online Now Send Email
Apr 1, 2007
8:45 pm
25140
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...
da5id
da5id@...
Send Email
Apr 5, 2007
6:38 pm
25141
... 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>...
merlyn@...
merlynstoneh...
Online Now Send Email
Apr 5, 2007
7:53 pm
25153
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...
Gordon Stewart
gordonisnz
Online Now Send Email
Apr 9, 2007
6:53 am
25154
... 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...
Sarah fox
sarahfox1969@...
Send Email
Apr 9, 2007
7:17 am
25156
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...
Mirza Abdullah Jan
jan576pk
Offline Send Email
Apr 9, 2007
8:24 pm
25157
open(FILE, 'data.txt') or die $!; while (<FILE>) { if (/^#/) { print 'This is line number ', $. , "\n" } } close FILE; شع2007-04-10£¬"Mirza Abdullah Jan"...
Huangj
redspid@...
Send Email
Apr 10, 2007
3:09 am
25158
Hi, try this open IN, 'e:/test.txt' || die "cannot open the input file $!"; undef $/; $name=<IN>; @grep=$name=~/^#.*$/mg; print scalar(@grep); regards, ...
yuva bala
yuvanbala124...
Offline Send Email
Apr 10, 2007
3:49 am
25159
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...
ramesh9999
Online Now Send Email
Apr 11, 2007
2:49 am
25160
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...
Ramesh Polepalli
ramesh_ps1
Offline Send Email
Apr 11, 2007
9:12 am
25161
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...
vivek kumar
kumarvivek_2001
Offline Send Email
Apr 11, 2007
9:40 am
25163
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...
Andy Schafer
lostgameparts
Offline Send Email
Apr 11, 2007
6:07 pm
25164
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...
kiran
kiran_polu
Offline Send Email
Apr 13, 2007
6:48 am
25165
... $data =~ s/\"//g; # remove all double quotes...
Yogesh Sawant
yoga_sawant
Offline Send Email
Apr 13, 2007
10:01 am
25171
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...
da5id
da5id@...
Send Email
Apr 15, 2007
1:13 pm
25172
... 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>...
merlyn@...
merlynstoneh...
Online Now Send Email
Apr 15, 2007
2:25 pm
25173
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...
sleepygal33
Offline Send Email
Apr 15, 2007
9:12 pm
25174
... 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...
da5id
da5id@...
Send Email
Apr 16, 2007
2:16 am
25175
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...
Prasanna Goupal
perl_developer
Offline Send Email
Apr 16, 2007
8:11 am
25176
From: "sleepygal33" <sleepdriver@...> ... It's generally better to declare variables only as you are about to start using them instead of upfront. In...
Jenda Krynicky
jendaperl
Online Now Send Email
Apr 16, 2007
8:44 am
25177
... 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...
merlyn@...
merlynstoneh...
Online Now Send Email
Apr 16, 2007
9:34 am
25178
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...
Ramesh Polepalli
ramesh_ps1
Offline Send Email
Apr 16, 2007
12:10 pm
25179
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....
kiran
kiran_polu
Offline Send Email
Apr 18, 2007
5:23 am
25180
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...
Ramesh Polepalli
ramesh_ps1
Offline Send Email
Apr 18, 2007
6:12 am
Messages 25129 - 25180 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help