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 25439 - 25478 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
25439
After a very long time thinking I decided to create a Yahoo Group with information on PHP&MySql. Their are quite a few of these sites and Forums around but the...
Ross
robothack
Offline Send Email
Jul 1, 2007
9:08 am
25440
Dear all, i am quite new to perl. I am trying to run this one liner through cmd.exe on windows 2000 perl -e 'print "Matched!" if "This is my\nmulti-line...
sarveshjangid
Offline Send Email
Jul 2, 2007
8:57 am
25441
Hi on windows take care of single and double quotes perl -e "print \"Hello, world!\n\""...
bike2ride
gl_bike2ride
Offline Send Email
Jul 2, 2007
9:03 am
25442
It has been a while since I have done any perl scripting. I remember having this problem before and I am not sure if I actually figured it out or not. If I...
Scott Mayo
melph63825
Offline Send Email
Jul 2, 2007
4:01 pm
25443
Hello Scott, just try it with s/^\[.*\] \[/\[/ Thats well defined. mfg/br, christian IT Systembetreuer/Geschäftsfeld PCO Informationstechnologie Continental...
Christian Wessel
wesselch
Offline Send Email
Jul 2, 2007
4:21 pm
25444
... You could use a reluctant qualifier: s/^\[.*?\]// Or specifically look for non-]: s/^\[[^]]*\]// ...and if you want the space gone, too, add \s* to the...
Rob Biedenharn
rab6687
Offline Send Email
Jul 2, 2007
5:10 pm
25445
where do I look for more info on a perl chat room program? is there a certain command for sending info to certain people are logged on? Thanks Lou...
Lou Hernsen
luinrandir
Offline Send Email
Jul 2, 2007
5:46 pm
25446
... Hash: SHA1 ... Most chat programs assumes that there is a server somewhere that the clients all connect to over a TCP/IP (or other protocol) socket. The ...
Peter L. Berghold
blue_cowdawg
Offline Send Email
Jul 2, 2007
6:27 pm
25447
I am going to ask this again since I don't think that I asked what I needed to the first time. I tried the suggestions, but they did not do what I wanted. I...
Scott Mayo
melph63825
Offline Send Email
Jul 2, 2007
8:29 pm
25448
... You need to use ()'s to capture the parts of the regular expression match that you're interested in keeping: For example: perl -w -e ' $line = "[the time...
Rob Biedenharn
rab6687
Offline Send Email
Jul 2, 2007
8:53 pm
25449
I've posted this before a after several suggestion offline it was suggested to repost to all. I'm using Net::telnet to log into a remote server and once there...
Dukelow, Don
dondukelow
Offline Send Email
Jul 2, 2007
9:15 pm
25451
Active Perl/Win XP I ran into what I thought was strange behavior with a glob and was hoping for an explanation. This first glob does what I expect - it...
Schelske, Steve K.
schelske.geo
Offline Send Email
Jul 3, 2007
12:43 pm
25452
... Yes, it is. You've asked for two patterns: one is c:/temp/globtest/ test and the other is *. If you want files that begin with the five characters t, e,...
Rob Biedenharn
rab6687
Offline Send Email
Jul 3, 2007
1:28 pm
25453
From: "sarveshjangid" <sarveshjangid@...> ... The problem is that cmd.exe doesn't understand the singlequotes as parameter delimiters. You have to...
Jenda Krynicky
jendaperl
Offline Send Email
Jul 3, 2007
1:44 pm
25454
Thank you to all who responded. It all makes sense now. I will strip whitespace off the end of the file name to make sure I'm only asking for one pattern. ...
Schelske, Steve K.
schelske.geo
Offline Send Email
Jul 3, 2007
2:16 pm
25455
First I have no control over the sudoers file, the customer would never allow a NOPASSWD entry in it. Secondly I've tried redirecting the command output into...
Dukelow, Don
dondukelow
Offline Send Email
Jul 3, 2007
4:48 pm
25457
Sorry, that won't work. According to the Camel Book (Programming Perl): "If you want to glob filenames that might contain whitespace, you'll need to use the...
John Francini
francini@...
Send Email
Jul 4, 2007
3:38 pm
25460
Hello All: Which one of the two versions of blessing is better? The 'two parameter' version. e.g. bless $objref, $class; Or the 'no parameter' version. What...
aditi gupta
aditi9783
Offline Send Email
Jul 6, 2007
8:31 pm
25461
... aditi> Which one of the two versions of blessing is better? aditi> The 'two parameter' version. e.g. bless $objref, $class; aditi> Or the 'no parameter'...
merlyn@...
merlynstoneh...
Offline Send Email
Jul 6, 2007
8:47 pm
25462
After a very long time thinking I decided to create a Yahoo Group with information on PHP&MySql. Their are quite a few of these sites and Forums around but the...
Ross
robothack
Offline Send Email
Jul 7, 2007
5:52 am
25463
Hia I got the diagnostic msg as follows while executing the mutate.pl.Kindlysuggest me how definding some of the variables will solve this error....... Use of...
elavazhagan perl
elavazhagan.perl@...
Send Email
Jul 7, 2007
5:57 am
25470
I will be out of the office starting 07/09/2007 and will not return until 07/13/2007. If you need immediate assistance please contact John Belmonte @ ...
Kevin.Moseley@...
Send Email
Jul 9, 2007
3:01 pm
25471
I am trying to pass a filehandle to a subroutine but cannot get the syntax right. I have been reading about using 'prototypes' but something isn't sinking...
hooyar66
Offline Send Email
Jul 9, 2007
5:30 pm
25472
use strict; use diagnostics; open FH, ">mydat.txt"; sub pass_fh(*); pass_fh(\FH); sub pass_fh(*) { my $MYFILE = shift @_; print $MYFILE "Filehandle was...
Jabir Ahmed
jabirahmed
Offline Send Email
Jul 9, 2007
5:49 pm
25473
I think the problem lies with your subroutine randomelement(), Thats because rand @array might be giving you a fractional index, instead of an integer index,...
Arun Pandey
arunp@...
Send Email
Jul 9, 2007
6:24 pm
25474
You can also try IO::File; http://www.davidpashley.com/articles/perl-io-objects.html -- Nothing is as embarrassing as watching someone do something that you...
Jabir Ahmed
jabirahmed
Offline Send Email
Jul 9, 2007
6:30 pm
25475
Ick. Don't use subroutine prototyping. open( my $fh, 'w', 'mydata.txt' ) or die "unable to open file: $!\n"; pass_fh_($fh); sub pass_fh { my $fh = shift; } ...
Brad Lhotsky
brad@...
Send Email
Jul 9, 2007
6:31 pm
25476
... get the ... result of ... - I ... Many thanks guys I got it to work as: #!c:/perl/bin/perl.exe -w use strict; use diagnostics; my $fh; ...
hooyar66
Offline Send Email
Jul 9, 2007
8:25 pm
25477
Hello All: I have an array, @array = (0, undef, 2, undef); And I want different operations on numerical and undef array elements. Since numerically undef...
aditi gupta
aditi9783
Offline Send Email
Jul 9, 2007
8:34 pm
25478
... elements. ... Maybe something like this: for (@array[0..3]) { if (defined) { ...do whatever } else { ...$_ is undefined } } Chris...
a_z0_9_blah
Offline Send Email
Jul 9, 2007
9:06 pm
Messages 25439 - 25478 of 26720   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