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.

Messages

  Messages Help
Advanced
Messages 14271 - 14300 of 26385   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
14271
Hi Friends, I want to do Multicasting in Perl,when iam executing the following code the following error is coming. "setsockopt: Protocol not available" ...
tvrajesh3
Offline Send Email
Apr 1, 2003
11:28 am
14272
Hi there, I was wondering :- 1) Ive got a CGI database & stuff.. im thinking of creating a 'slideshow' of pictures of various items Eg - (when finished, will...
Gordon Stewart
gordonisnz
Offline Send Email
Apr 1, 2003
11:43 am
14273
http://www.census.gov/geo/www/gazetteer/places2k.html Does the above 4 files show the City / state ? I''ll assume the 1st two characters of the 'places'...
Gordon Stewart
gordonisnz
Offline Send Email
Apr 1, 2003
12:15 pm
14274
From: Gordon Stewart <gordon@...> ... I believe it would be better to use the CGI. Assuming you use mod_perl or FastCGI or PerlEx or at least...
Jenda Krynicky
jendaperl
Offline Send Email
Apr 1, 2003
4:52 pm
14275
Hi After playing with this I rewrote it as follows, it works but takes a long time. Just wondering if there is another way to write something like this but...
techybill
Offline Send Email
Apr 1, 2003
5:08 pm
14276
... takes ... The 'algorithm' I used was: 1) Read guestbookphp.csv file (one with email addresses) into a hash. 2) Read in news.csv, parse out email address...
Damien Carbery
daymobrew
Offline Send Email
Apr 1, 2003
7:14 pm
14277
After an hour reading though programming perl... I realised I had left the & of the start of the variable name.. I also had to add no strict 'refs'; to get it...
Frankie
frankhauptle
Offline Send Email
Apr 1, 2003
7:51 pm
14278
Hi guys.. I have passed a subroutine containing sql statement to a session variable.. and I need to run that sub stored in the var name.. for example: sub...
Frankie
frankhauptle
Offline Send Email
Apr 1, 2003
7:53 pm
14279
I have a really bizarro mail server here at my work that has a ton of really strange config files. Without getting into too much details about it's setup. I...
Bryan Irvine
bmirvine929
Offline Send Email
Apr 2, 2003
12:28 am
14280
Hehe... try this... cat | awk '{print $1}' I know it's not perl, but it wouldn't be that easy in perl :-) Seriously, in perl, I'd probably do it like this... ...
Nathan.Jeffrey@...
Send Email
Apr 2, 2003
1:05 am
14281
I'm trying to link to Central Commands website to dynamically generate links for each daily briefing whether the briefing is held by CENTCOM or the DoD. They...
bbrown1116
Offline Send Email
Apr 2, 2003
2:04 am
14282
I'm stuck here because I can't let my Perl program read in a huge file (5,000,000 lines). If I use my normal way of reading, my computer just crashes. The...
doudou1229
Offline Send Email
Apr 2, 2003
8:02 pm
14283
Just read in a line $line = <FH1> --Original Message----- From: doudou1229 [mailto:doudou1229@...] Sent: Wednesday, April 02, 2003 12:02 To:...
Stern, Leon
painter_man
Offline Send Email
Apr 2, 2003
8:08 pm
14284
don't assign it to an array.. big waste of memory.. open (FH1,"< $file"); while (<FH1>){ # Do stuff to each line working on $_ } see if that helps.. rgds ...
Frankie
frankhauptle
Offline Send Email
Apr 2, 2003
8:15 pm
14285
Hi did any body encounter such an error with Oracle 9i portal. Error: Your account is globally locked. Please try logging in after the global lockout duration...
Bassim Karkachi
Karkachi
Offline Send Email
Apr 2, 2003
10:25 pm
14286
Hi Hope this isn't too silly a question but I am very new to Perl and am trying to check if the users input is a number. Basically, here's what I've got so...
Jaco
jaco2001uk@...
Send Email
Apr 2, 2003
10:39 pm
14287
... you the // surrounding the [0-9] to make it a regex. so change it to $times_tables =~ /\d/ the \d matches any one digit (0-9) and so is basically the...
jake@...
cheerios_mun...
Offline Send Email
Apr 2, 2003
10:47 pm
14288
Not quite -- /[0-9]/ will also match "a3a'; as in this code -- $a = <>; if ( $a =~ /[0-9]/ ) { print "OK"; } else { print "no"; } output -- perl test.pl a3a OK...
Stern, Leon
painter_man
Offline Send Email
Apr 2, 2003
10:58 pm
14289
Here is a section from the perl cookbook. ... Checking Whether a String Is a Valid Number Problem You want to check whether a string represents a valid number....
Stern, Leon
painter_man
Offline Send Email
Apr 2, 2003
11:05 pm
14290
Thanks everyone for your help :) I've read a few basic things on regexps but need to find loads of examples really to read through and try and understand To...
Jaco
jaco2001uk@...
Send Email
Apr 2, 2003
11:41 pm
14291
You need something like this untested code -- $flag = "keep-going"; while ( $flag eq "keep-going") { print "Enter the table you want to work with <1-25> "; ...
Stern, Leon
painter_man
Offline Send Email
Apr 2, 2003
11:49 pm
14292
use POSIX 'isdigit'; foreach my $value ( 999, 'a3a', '3aa', '3 3' ) { print isdigit( $value ) ? "$value is a number\n" ... } HTH, Charles K. Clarkson -- Head...
Charles K. Clarkson
charlesclarkson
Offline Send Email
Apr 2, 2003
11:52 pm
14293
You are right! I forgot all about the is... functions. ... From: Charles K. Clarkson [mailto:cclarkson@...] Sent: Wednesday, April 02, 2003 15:52 To:...
Stern, Leon
painter_man
Offline Send Email
Apr 2, 2003
11:59 pm
14294
... What you need is a loop that will continue to query the user after incorrect input. This loop runs forever. It is dangerous but can be escaped on most...
Charles K. Clarkson
charlesclarkson
Offline Send Email
Apr 3, 2003
12:44 am
14295
I have a date from the form in format: 2003-04-03, (yyyy-mm-dd). $date = $field{'date'} ; but once after input I want to format it through script as: Apr-04-03...
zeshanism
Online Now Send Email
Apr 3, 2003
11:24 pm
14296
Sure it's possible. split() on a hyphen into an array, substr() the first element to take the last two digits of the year, convert the month to a name via a...
Nathan.Jeffrey@...
Send Email
Apr 3, 2003
11:44 pm
14297
I am trying to get up and running on perl cgi scripts. I have tried to execute a test program and get a 500 error. In the error log it says: [Thu Apr 03...
Bernard Golden
bhgolden
Online Now Send Email
Apr 4, 2003
12:51 am
14298
Bernard, I'm no expert, but in the absence of a more knowledgeable response, I can help try and find the answer. From what I've found on the web there are a ...
Don Smith
login2001ca
Offline Send Email
Apr 4, 2003
2:17 am
14299
Hi Don, My machine is xp pro. I hope it's not the Perl code, as I am attempting to access an included cgi file, tryit.cgi (I was trying cgivariable as well, ...
Bernard Golden
bhgolden
Online Now Send Email
Apr 4, 2003
3:19 am
14300
Bernard, Sorry, but I won't be much help to you. If its not the code itself (a safe bet for the sound of it) then its either the server or the OS or the way ...
Don Smith
login2001ca
Offline Send Email
Apr 4, 2003
4:39 am
Messages 14271 - 14300 of 26385   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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