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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 26684 - 26725 of 26725   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date v
26725
Increase Your Height 2-3 Inches How a New Discovery Made A Short Man 2-3 Inches Taller In 6 Weeks I Discovered the Secret to Add Several Inches of Solid Height...
ksuiwskeio@...
ksuiwskeio
Offline Send Email
Nov 30, 2009
9:43 pm
26724
WANTED: People To Work From Home. Must Have Computer * Just fill simple surveys. Start today. Online Companies Will Pay YOU $5 to $125 for Each Survey! Get...
ksuiwskeio@...
ksuiwskeio
Offline Send Email
Nov 26, 2009
6:33 pm
26723
Hi,    I think I can post the  issue related to 'mechanize' here.    I am using www::mechanize to login and logout to a particular page.    When I...
alok nath
aloknathlight
Offline Send Email
Nov 22, 2009
4:47 pm
26720
... Yanto> Hello, Yanto>   Yanto> Can some one help me? Yanto>   Yanto> How to get data from website, then save to file. Yanto>   Yanto> example from...
merlyn@...
merlynstoneh...
Online Now Send Email
Nov 10, 2009
3:35 pm
26719
Hello,   Can some one help me?   How to get data from website, then save to file.   example from  http://www.website.com/page.html   TIA Yanto Asnawi ...
Yanto asnawi
yanto_asnawi
Offline Send Email
Nov 10, 2009
3:20 pm
26718
# Display the IMAP resource usage on the user's post office server. use strict; use warnings FATAL => 'all'; use Cyrus::IMAP; use Getopt::Std; sub usage(;$); ...
lRobert Lee Binkley
leebinkley
Offline Send Email
Oct 29, 2009
7:08 pm
26717
Hi, I am using the IMAP::Client for automating the quota check for some of the users. My script was fairly straight, and I ran in to the below error, while...
Shameem Ahamed
shameem.ahamed
Online Now Send Email
Oct 29, 2009
5:56 pm
26715
Hi All, Using GD::Graph::pie, I have created a pie chart. But, I am unable to add a legend to the chart. Is there any provision to add legend to a pie chart ? ...
srinivas reddy
reddysrinivas_k
Offline Send Email
Oct 20, 2009
5:43 am
26705
... Dukelow,> I know how to fix it manually but I can't figure out how to get Net::SSH::Perl to see this error message so I can have Perl fix it. Dukelow,>...
merlyn@...
merlynstoneh...
Online Now Send Email
Aug 27, 2009
7:47 pm
26704
I'm using Net::SSH::Perl it my Perl script. The problem is because of OS upgrades and what other reasons I'm not aware of the SSH key gets changed from time to...
Dukelow, Don
dondukelow
Offline Send Email
Aug 27, 2009
6:09 pm
26703
Hi, With respect to the question asked in [PBML] Digest Number 3109: I would like to say the command                   unlink $file will completely...
vivek kumar
kumarvivek_2001
Offline Send Email
Aug 19, 2009
6:22 am
26702
From: Marcos Ramos <marcos.ramos@...> ... No. In this case Perl interpolates the variable into the regexp and uses the contents as part of the...
Jenda Krynicky
jendaperl
Offline Send Email
Aug 10, 2009
4:30 pm
26701
"/^$thing/" Isn't that because you have $ (end line regex) just after ^ (line start reged) ? So it tries to match empty line followed by the word "thing". -- ...
Marcos Ramos
marcosjsramos
Offline Send Email
Aug 7, 2009
8:33 am
26700
excuse i think that you must use this function index string , $thing ... From: MAJID AGHA AMINI <amini4@...> Subject: Re: [PBML] Re: Regular Expression...
MAJID AGHA AMINI
amini4
Offline Send Email
Aug 6, 2009
9:25 pm
26699
#!C:\Perl\bin\perl.exe print "enter your ...","\n"; $majid=<STDIN>; chomp($majid); $_="[test]"; if($majid eq $_) { print "yah","\n"; } else { print...
MAJID AGHA AMINI
amini4
Offline Send Email
Aug 6, 2009
8:42 pm
26698
First of all - this is my first post. So just want to know if I'm doing everything right. Then I may suggest a workaround for that problem: - overwrite that...
Marcos Ramos
marcosjsramos
Offline Send Email
Aug 6, 2009
7:43 pm
26697
On Windows, can a file that is deleted with the unlink command be recovered? If so, is there a way in Perl to delete a file so that the deleted file is...
schelske.geo
Offline Send Email
Aug 6, 2009
1:01 pm
26696
Hi Nikhil, hope this will resolve your problem $dir_path = "/abc/def/ghi/pp123456.2.3.4.jk.xyz"; $filename = ($dir_path =~ /(.*)\/(.*)\/(.*)\/(.*)/); $filename...
Vivek Kumar
kumarvivek_2001
Offline Send Email
Aug 2, 2009
4:06 am
26695
On Wed, Jul 29, 2009 at 6:45 PM, nikhil ... Generally, the best practice is to use well-tested and thoroughly-designed modules to solve problems like these....
Jeff Soules
soules@...
Send Email
Jul 30, 2009
4:42 am
26694
... nikhil> $dir_path = </abc/def/ghi/pp123456.2.3.4.jk.xyz>; What is this? Not Perl. Some other language? -- Randal L. Schwartz - Stonehenge Consulting...
merlyn@...
merlynstoneh...
Online Now Send Email
Jul 29, 2009
11:32 pm
26693
Hi everyone, I am preparing a script to extract certain data from a file. The file is stored at the location specified in the variable $dir_path below. There...
nikhil deshpande
deshpandenik...
Offline Send Email
Jul 29, 2009
10:57 pm
26692
The \Q ... \E as suggested works great. Thanks all!...
fooguy89
Offline Send Email
Jul 28, 2009
5:56 pm
26691
... sudha> You can try as below. But \Q handles a lot more than [. And should be the preferred solution. -- Randal L. Schwartz - Stonehenge Consulting...
merlyn@...
merlynstoneh...
Online Now Send Email
Jul 28, 2009
3:55 pm
26690
You can try as below. my $_ = "[test]"; my $thing = "[test]"; $thing =~ s/\[/\\\[/g; if (/^$thing/) { print "Yah!\n"; } else { print "booo...\n"; } Sudhakaran....
sudha karan
sudhagkaran
Offline Send Email
Jul 28, 2009
3:47 pm
26689
Why are you putting ^ in "/^$thing/" when you assigne $_ to "[test]" write (/$thing/) as $_ now begins with [ ;)...
call_ashutosh2003
call_ashutos...
Offline Send Email
Jul 28, 2009
3:01 pm
26688
... fooguy89> $_="[test]"; fooguy89> my $thing = "[test]"; if (/^\Q$thing/) { .... } See \Q in the docs (I think it's in "perldoc perlre"). -- Randal L....
merlyn@...
merlynstoneh...
Online Now Send Email
Jul 28, 2009
2:24 pm
26687
... You need to escape the meta-characters in $thing, but don't change $_. if( /^\Q$thing\E/ ){ See `perldoc perlre` and search for /\\Q/ You can also read...
Shawn H. Corey
shawnhcorey@...
Send Email
Jul 28, 2009
2:22 pm
26686
Let's say I have this snippet: $_ = "test"; my $thing = "test"; if (/^$thing/) { print "Yah!\n"; } else { print "booo...\n"; } It correctly prints "Yah!". If...
fooguy89
Offline Send Email
Jul 28, 2009
2:16 pm
26685
... Hans> Why so much coding when it could be achieved much easier, having somewhere Hans> deeper in the perl machine code a stop switch like "stay" in the ...
merlyn@...
merlynstoneh...
Online Now Send Email
Jul 26, 2009
4:19 pm
26684
Hi Randal an Jon, I respectfully insist: I still DREAM of a switch in: find(sub {$name{$File::Find::name} = -f;}, @ARGV); For now I have a construction with...
Hans Witschi
hwitche
Offline Send Email
Jul 26, 2009
4:33 am
Messages 26684 - 26725 of 26725   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

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