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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 25347 - 25383 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
25347
What is the difference between these two expressions? $pat=qr/some_regex/; How is /{$pat}xxx/ and /${pat}xxx/ different? Thx. I know Karate, Kung fu and 47...
kapil v
kapil.vikram...
Offline Send Email
Jun 1, 2007
7:05 am
25348
Hi, I am new to perl CGI and writing a small web based application. When I run the script from CLI, my Script is able to connect to database, where as when I...
Ramesh Polepalli
ramesh_ps1
Offline Send Email
Jun 1, 2007
7:14 am
25349
From: kapil v <aaaaax2003@...> ... Try that! The first one would look for an opening curly brace followed by whatever the some_regex matches followed by...
Jenda Krynicky
jendaperl
Offline Send Email
Jun 1, 2007
12:37 pm
25350
hi, im just wondering how can you emulate the -d of PERL to C... so far, ive tried this out, but have no success(running on win32, using dev-cpp) dir =...
int21h_d
Offline Send Email
Jun 3, 2007
1:53 pm
25353
Oh! I see . thx Jenda Krynicky <Jenda@...> wrote: From: kapil v <aaaaax2003@...> ... Try that! The first one...
kapil v
kapil.vikram...
Offline Send Email
Jun 4, 2007
7:03 am
25354
I read in a file with 5 csc. #!/usr/bin/perl $expect=qr/([^,]+),([^,]+),([^,]),([^,]+),(^,]+)/; foreach (<>){ $string=~/$expect/ and...
kapil v
kapil.vikram...
Offline Send Email
Jun 4, 2007
7:09 am
25355
Yes, but the perl script would have to interface with the browser through CGI. The Cookie is stored by the browser and read through a header request, so any ...
Chris Borokowski
borokowski
Offline Send Email
Jun 4, 2007
12:23 pm
25356
It's pretty much essential to use CGI.pm. (perldoc CGI) You might want to check out a framework like CGI::Application and Template Toolkit. May look like...
Jonathan Mangin
jon.mangin
Offline Send Email
Jun 4, 2007
12:24 pm
25357
If you're using a flatfile, you're going to end up with small loops to "look up" information unless you store it all as record ID numbers. For example, user ID...
Chris Borokowski
borokowski
Offline Send Email
Jun 4, 2007
12:24 pm
25358
1) Does Apache have rights to read the file? 2) It might be worth including the file flush configuration, $| = 1; ... ...
Chris Borokowski
borokowski
Offline Send Email
Jun 4, 2007
12:25 pm
25359
Your regex was corrected, but I had suggested a modification. The output can be compared. $expect = qr{([0-9]+),([^,]+),([^,]+),([^,]+),([^,]+)}; foreach...
Thiago Nascimento
nascimentoth...
Offline Send Email
Jun 4, 2007
12:27 pm
25360
If you're using CSV, why not use Text::CSV_XS: use Data::Dumper; use Text::CSV_XS; open( my $fh, 'r', '/path/to/file') or die "unable to read from...
Brad Lhotsky
brad@...
Send Email
Jun 4, 2007
3:15 pm
25362
apache runs under a username. check if the apache user has permission to read the file or do a chmod 755 on the file. regards Jab ... From: Chris Borokowski ...
Jabir Ahmed
jabirahmed
Offline Send Email
Jun 4, 2007
5:54 pm
25364
CORDWOODGUY WANTS GREG AKA KICKSTART TO CONTACT HIM PERSONALLY SEEING AS THIS BOARD DOESn`T ALLOW OFF LINE CONECTIONS.SORRY FOR ANY INCONVENIENCE. cordwoodguy...
cordwoodguy
Offline Send Email
Jun 5, 2007
3:31 pm
25365
I am looking for the most appropriate module to do some basic MySQL through DBI to XML translation. A bit of searching has found DBIx::XML_RDB which looks like...
hooyar66
Offline Send Email
Jun 6, 2007
7:49 pm
25366
Operating System = Windows I'm having trouble with the permissions on a file that I have moved from Directory A to Directory B using move from the File::Copy...
Schelske, Steve K.
schelske.geo
Offline Send Email
Jun 6, 2007
9:27 pm
25367
Hello All: I have an array of numbers, and I have to enumerate all possible combinations of pairs, without repetition of numbers or pairs in a particular...
aditi gupta
aditi9783
Offline Send Email
Jun 7, 2007
1:41 am
25368
... aditi> I have an array of numbers, and I have to enumerate all possible aditi> combinations of pairs, without repetition of numbers or pairs in a aditi>...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 7, 2007
1:47 am
25369
A simple solution #/usr/bin/perl -w my @array=(1,2,3,4,5,6,7); combinations(\@array); sub combinations{ my $array_ref=shift; my @array1 = @{$array_ref}; ...
kapil v
kapil.vikram...
Offline Send Email
Jun 7, 2007
6:08 am
25370
Hello does anybody know how to use Perl's debugger configuration file .perldb on WinXP with a Activestate distribution? After several attempts Perl doesn't...
bike2ride
gl_bike2ride
Offline Send Email
Jun 7, 2007
6:28 am
25371
Firstly, Thank you for replying. Secondly, @Randal 'combine' does not do what I want, and I didn't understand the code enough to modify it. I need to find...
aditi gupta
aditi9783
Offline Send Email
Jun 8, 2007
12:15 am
25372
I really don't ger what you are saying. The combinations I generated are what you asked for. Is the order and formatting of the output that is the issue ? ...
kapil v
kapil.vikram...
Offline Send Email
Jun 8, 2007
3:41 am
25373
Order is an issue, but formatting is not. If all formatting is dropped, then your combinations would be: 1 2 1 3 1 4 2 3 2 4 3 4 But my desired output is: 1 2...
aditi gupta
aditi9783
Offline Send Email
Jun 8, 2007
4:02 am
25374
I am trying to write a script to get nike+ data. This data is located at a URL: https://secure-nikeplus.nike.com/nikeplus/v1/services/app/run_list.jhtml ...
chrisdrackett
Offline Send Email
Jun 8, 2007
11:13 pm
25376
Hi on WinXP Perl is using the perldb.ini file. After setting file permissions to 444 ('chmod 444 perldb.ini' in a cygwin bash shell) the Perl debugger started...
bike2ride
gl_bike2ride
Offline Send Email
Jun 10, 2007
12:03 pm
25377
Hi, All - Apologies for the length ... A little context on what I am trying to do here. I use Slackware Linux, which lacks the upgrading systems (like apt or...
Glenn Becker
lesonyrra
Offline Send Email
Jun 11, 2007
1:29 am
25378
... Glenn> my @packages = grep /^PACKAGE NA/, <FH>; This reads all the lines. Glenn> my @locations = grep /^PACKAGE LO/, <FH>; Now there's no more lines to...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 11, 2007
4:56 am
25379
Glenn, The problem here is that the line my @packages = grep /^PACKAGE NA/, <FH>; has already slurped through the entire file. You'd need to rewind the file...
John Francini
francini@...
Send Email
Jun 11, 2007
6:26 am
25382
Randal, <snip> ... Thanks! :^) I did wonder if I would need to "re-wind" somehow ... GB...
Glenn Becker
lesonyrra
Offline Send Email
Jun 11, 2007
2:32 pm
25383
John, ... Thanks for the reply. I found myself thinking with this step of the project that since the lines I wanted went name, location, name, location and so...
Glenn Becker
lesonyrra
Offline Send Email
Jun 11, 2007
2:39 pm
Messages 25347 - 25383 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