Greetings;
I have discovered that under some conditions QUERY_STRING is set
and under other conditions QUERY_STRING_UNESCAPED is set. I can
detect these conditions but I can't find out how to get the
contents of QUERY_STRING_UNESCAPED transformed to the form it
would be in QUERY_STRING in a
Dennis G. Wicks wrote:
Greetings;
I have discovered that under some conditions QUERY_STRING is set and
under other conditions QUERY_STRING_UNESCAPED is set. I can detect these
conditions but I can't find out how to get the contents of
QUERY_STRING_UNESCAPED transformed to the form it would
Looking for example Perl scripts to be used in Perl Training.
I am going to do a Perl training to a group of people.
I was wondering from where I can get some sample Perl scripts to be
used to demonstrate the basic usage of Perl.
Thanks.
I think both Learning Perl and Perl Cook Book are right
On May 22, 2006, at 4:44, Wijaya Edward wrote:
Is there a way to do it? Module for it? Suppose I have this large
string.
my $string = 'foo bar
qux woo
etc etc';
I would like to convert that string as if it is stored inside a
file, and bypassing the file
luke devon [EMAIL PROTECTED] asked:
This is really about make a tunnel with another server.
When i googled i found a sample perl script that function very nicely.
http://migo.sixbit.org/pinkhas/nettunnel
it works actually. basically , i tested that with a WEB
Proxy . it proxied and i
please send it
-Chandru.
Jeff Pang wrote:
Looking for example Perl scripts to be used in Perl Training.
I am going to do a Perl training to a group of people.
I was wondering from where I can get some sample Perl scripts to be
used to demonstrate the basic usage of Perl.
Thanks.
I
Hi,
Is there a way to determine the size of a parameter of a textarea or filefield
in CGI.pm?
For example, given this form.
__BEGIN__
use CGI qw/:standard/;
# snip
textarea(
-name= 'some_name',
-rows= 10,
-columns
On Friday 19 May 2006 23:30, Rance Hall wrote:
Kevin Viel wrote:
Bjørge Solli wrote:
HOY! People spend years writing those books - buy it!
Seconded. Under US law, you may copy one article or one *chapter* under
certain circumstances.
As a hint, I got several new O'Reilly texts in
-Original Message-
From: Chandru [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 2:23 AM
To: Jeff Pang
Cc: beginners@perl.org
Subject: Re: Looking for example Perl scripts to be used in Perl
Training.
please send it
-Chandru.
Jeff Pang wrote:
Looking for example
Ryan I guess there is a diffrence between knowing the internal workings of
perl and all the intresting tricks and things you can do on the very
advanced level and a good script to show the basics.
The problem is simple is often more difficult then it seems. And I do think
as stated before that
-Original Message-
From: Rob Coops [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 9:17 AM
To: Ryan Frantz
Cc: beginners@perl.org
Subject: Re: Looking for example Perl scripts to be used in Perl
Training.
Ryan I guess there is a diffrence between knowing the internal workings
of
Wijaya Edward wrote:
Hi,
Is there a way to determine the size of a parameter of a textarea or filefield in CGI.pm?
For example, given this form.
__BEGIN__
use CGI qw/:standard/;
# snip
textarea(
-name= 'some_name',
-rows= 10,
On Saturday 20 May 2006 23:13, SkyBlueshoes wrote:
I have a script that uses an infinite loop, I'm wanting to be able to
set a timer that when expired will run a subroutine, something sort of
like Poe's callback timer feature. How would I go about doing this? I
need to be able to set multiple
Wijaya Edward wrote:
: Is there a way to determine the size of a parameter of a
: textarea or filefield in CGI.pm?
You can determine the length (using the length() function)
of a field, but not the size of the control on the form. That
information is not sent via the Common Gateway
-Original Message-
From: Jeff Pang [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 21, 2006 11:06 PM
To: beginners@perl.org
Subject: Re: Looking for example Perl scripts to be used in Perl
Training.
snip
I think both Learning Perl and Perl Cook Book are right for your
purpose.
I got
Hi all, I need to export data from one database table to another. I also
need to cleanse the data before inserting it to the other DB. There is only
one unique column login and that is an string such as login1. The rest
are contact details, personal name / address and business name /
Graeme McLaren wrote:
Public Sub House()
On Error Resume drink
If Pint.empty = True Then
Pint.refill
Else
Pint.drink
End if
stomach.add Pint
MsgBox I've had stomach.count Pints
MsgBox VERY DRUNK
End Sub
sub house {
if
It's been a while since I've used Perl and I need some help with a
multidimensional array.
I have a file that I need to compile some stats on.
I need to keep track of 'actions' and 'rules'. Yes, stats from a
firewall.
Both 'actions' and 'rules' need to be dynamic so if a rule is added,
it's
On 5/22/06, Michael Gargiullo [EMAIL PROTECTED] wrote:
It's been a while since I've used Perl and I need some help with a
multidimensional array.
I have a file that I need to compile some stats on.
I need to keep track of 'actions' and 'rules'. Yes, stats from a
firewall.
Both 'actions' and
Can anybody help me with this? I tried the solution on the link below,
adding in $sth-finish(); and although the error message is surpressed
now, the record never gets inserted...
Sky Blueshoes
SkyBlueshoes wrote:
I'm getting an error using SQLite:
DBD::SQLite::sth execute failed: database
I apologize if this posting is not specific to Perl usage, but I'm
doing some research on standards for handling unknown date values
(e.g, when a complete date is not known). I work in an industry niche
(cancer registry and public health data collection) that does not
follow ISO 8601 for
When I execute the script below, I get the error message No such file or
directory at simple2.pl line 21. Line 21 is the Open OUT statement.
This script parallels a tutorial script that does work and I don't see the
error. It does print to the screen if I comment out the Open OUT line.
One simple thing you might want to start doing is including the filename
in your error message. Quite often this message means that either
you're not in the starting directory you think you're in or part of your
filename is being interpreted as something other than what you intended.
On Monday 22 May 2006 14:49, [EMAIL PROTECTED] wrote:
When I execute the script below, I get the error message No such file or
directory at simple2.pl line 21. Line 21 is the Open OUT statement.
This script parallels a tutorial script that does work and I don't see the
error. It does print
On Mon, 22 May 2006 18:00:25 -0400, Jaime Murillo [EMAIL PROTECTED]
wrote:
On Monday 22 May 2006 14:49, [EMAIL PROTECTED] wrote:
When I execute the script below, I get the error message No such file
or
directory at simple2.pl line 21. Line 21 is the Open OUT statement.
This script
Michael Gargiullo wrote:
It's been a while since I've used Perl and I need some help with a
multidimensional array.
AKA a HASH :) You want a hash not an array :)
I have a file that I need to compile some stats on.
I need to keep track of 'actions' and 'rules'. Yes, stats from a
[EMAIL PROTECTED] wrote:
When I execute the script below, I get the error message No such file
or directory at simple2.pl line 21. Line 21 is the Open OUT
statement. This script parallels a tutorial script that does work and
I don't see the error. It does print to the screen if I comment
[EMAIL PROTECTED] schreef:
my $output_dir = c:/training/bc;
[...]
open OUT, output_dir/simple2.html or die Can't open file: $!;
^
Maybe you meant $output_dir?
^
--
Affijn, Ruud
Gewoon is een tijger.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Mon, May 22, 2006 at 01:50:04PM -0600, Jeremy Vinding wrote:
Graeme McLaren wrote:
Public Sub House()
On Error Resume drink
If Pint.empty = True Then
Pint.refill
Else
Pint.drink
End if
stomach.add Pint
MsgBox I've had
Which module would be best to build an array of all files within a
directory and all subdirectories matching the extension? I will need the
full path to those files included with the filename in the array...
SkyBlueshoes
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Check out the File::Find module. It should come standard with your
distribution. You may have to re-read the docs a couple of times before
it makes sense, but it works well. Post here if you have any problems.
-Original Message-
From: SkyBlueshoes [mailto:[EMAIL PROTECTED]
Sent:
On 5/22/06, SkyBlueshoes [EMAIL PROTECTED] wrote:
Which module would be best to build an array of all files within a
directory and all subdirectories matching the extension? I will need the
full path to those files included with the filename in the array...
I'm not sure if there's a more
Thanks a lot for all you guys.
On 5/23/06, Timothy Johnson [EMAIL PROTECTED] wrote:
-Original Message-
From: Jeff Pang [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 21, 2006 11:06 PM
To: beginners@perl.org
Subject: Re: Looking for example Perl scripts to be used in Perl
Training.
snip
Hello,lists,
We write a simple socket script using IO::Socket module.When this script
connect to peer server (both server and my scripts are in the same LAN),it
always dropped and print these errors:
IO::Socket::INET: connect: Connection refused
IO::Socket::INET: connect: Connection timed out
Another stupid question, search.cpan.org doesn't like me, lol:
Which module is best for creating a directory and all directories in
between.
Ex:
I want to create the directory : \dir1\dir2\dir3\targetdirectory
but none of the preceding numbered directories exist...
Sky Blueshoes
--
To
Hi
I have looked some example scripts in Perl. I would like to have some
pdfs or chms to guide myself.Can any one has such books.
- Chandru
Ryan Frantz wrote:
-Original Message-
From: Chandru [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 2:23 AM
To: Jeff Pang
Cc:
-Original Message-
From: SkyBlueshoes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 May 2006 12:38 PM
To: beginners@perl.org
Subject: Create Directories
Another stupid question, search.cpan.org doesn't like me, lol:
Which module is best for creating a directory and all
-Original Message-
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 6:12 PM
To: beginners@perl.org
Subject: Re: Counting arrays
Michael Gargiullo wrote:
It's been a while since I've used Perl and I need some help with a
multidimensional array.
AKA a HASH
File::Spec if you are working cross platform.
then mkdir $path
On 5/22/06, Toby Stuart [EMAIL PROTECTED] wrote:
-Original Message-
From: SkyBlueshoes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 23 May 2006 12:38 PM
To: beginners@perl.org
Subject: Create Directories
Another
for my $action (keys %actionrule) {
print Action is: $action\n;
for my $rule (keys %{ $actionrule{$action} }) {
print \tRule is: $rule\n;
print \t\tand its count is: $actionrule{$action}{$rule}\n;
}
}
THANK YOU!!
This works beautifully! I was pulling my hair
40 matches
Mail list logo