SkyBlueshoes schreef:
> 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 e
Hi Chandru,
On 5/22/06, Chandru wrote:
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
Hi Chandru,
- Show quoted text -
On 5/22/06, Chandru wrote:
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]
Hi Practical Perl,
On 5/22/06, Practical Perl wrote:
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 refu
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
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
>
>
> An
-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 HA
> -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 al
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: beginners
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 unsu
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
H
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.
> I
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 fitti
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: Mon
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, e-m
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
>
[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]
F
[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 co
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
firewall.
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 para
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 pr
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.
m
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.
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
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
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
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 au
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 {
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 / addr
-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.
> I think both "Learning Perl" and "Perl Cook Book" are right for your
> purpose.
> I got th
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 Interface.
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 multip
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,
>-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 workin
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 th
> -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 f
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'Re
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
38 matches
Mail list logo