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...
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...
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...
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 =...
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 ...
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...
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...
Your regex was corrected, but I had suggested a modification. The output can be compared. $expect = qr{([0-9]+),([^,]+),([^,]+),([^,]+),([^,]+)}; foreach...
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@...
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 ...
CORDWOODGUY WANTS GREG AKA KICKSTART TO CONTACT HIM PERSONALLY SEEING AS THIS BOARD DOESn`T ALLOW OFF LINE CONECTIONS.SORRY FOR ANY INCONVENIENCE. cordwoodguy...
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...
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...
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> 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>...
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}; ...
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...
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...
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 ? ...
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...
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 ...
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...
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> 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...
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@...
Jun 11, 2007 6:26 am
25382
Randal, <snip> ... Thanks! :^) I did wonder if I would need to "re-wind" somehow ... GB...
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...