On Wed, 27 Aug 2008 06:29:53 -0700 (PDT), [EMAIL PROTECTED] wrote:
> Hi All,
>
> I am learning how to use Perl. When I was first time using VBA, I
> could use "F8" to track how all the variables change each by each and
> step by step so that I can understand how the whole coding flows. Is
> there
Hi Jin Hoo,
Jenda Krynicky wrote:
From: [EMAIL PROTECTED]
I am learning how to use Perl. When I was first time using VBA, I
could use "F8" to track how all the variables change each by each and
step by step so that I can understand how the whole coding flows. Is
there any method to do so (
From: [EMAIL PROTECTED]
> I am learning how to use Perl. When I was first time using VBA, I
> could use "F8" to track how all the variables change each by each and
> step by step so that I can understand how the whole coding flows. Is
> there any method to do so (or similar) in Perl? Many thanks!
On Wed, 2008-08-27 at 15:55 +0100, Pat Rice wrote:
> Hi ya
> I put mine in if statements, then you can turn them of and on globally
>
> if(debug == 1){
> print "$bla"
> }
Use Data::Dumper to see all levels of a variable:
use Data::Dumper;
print '%var : ', Dumper \%var if $debug == 1;
--
Just
gt; A : beginners@perl.org
>> Copie à :
>> Objet : Question on Perl
>>
>>
>> Hi All,
>>
>> I am learning how to use Perl. When I was first time using VBA, I
>> could use "F8" to track how all the variables change each by each and
>>
On Wed, 2008-08-27 at 06:29 -0700, [EMAIL PROTECTED] wrote:
> Hi All,
>
> I am learning how to use Perl. When I was first time using VBA, I
> could use "F8" to track how all the variables change each by each and
> step by step so that I can understand how the whole coding flows. Is
> there any met
Hi All,
I am learning how to use Perl. When I was first time using VBA, I
could use "F8" to track how all the variables change each by each and
step by step so that I can understand how the whole coding flows. Is
there any method to do so (or similar) in Perl? Many thanks!
Best regards,
Ronald
> "Gavin" == Gavin Bowlby <[EMAIL PROTECTED]> writes:
Gavin> Does anyone have any performance data on this?
Yes, tie kills hash access by about a factor of 10. Don't do it.
Use *any* other means.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
http://www.sto
ta on this?
Regards,
Gavin Bowlby
-Original Message-
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 6:47 AM
To: beginners@perl.org
Subject: Re: question on Perl determinism with hash keys
>>>>> ""Gavin" == "Gavin Bowl
> ""Gavin" == "Gavin Bowlby" <[EMAIL PROTECTED]> writes:
"Gavin> It's important that user scripts are dispatched in identical order
"Gavin> across runs for repeatability and debugging, and the general sanity of
"Gavin> the users and the developer.
Then add a serial number, and sort on that wh
2006 6:15 PM
To: Gavin Bowlby; beginners@perl.org
Subject: RE: question on Perl determinism with hash keys
Understandable. Why do you need the keys function to return the keys in
the same order? What is it that you're trying to do?
-Original Message-
From: Gavin Bowlby [mai
t: RE: question on Perl determinism with hash keys
I don't want to do this sorting because I have many hashes within my
Perl program that are changing at a high rate, and I'm trying to
optimize performance within my Perl program.
-Original Message-
From: Timothy Johnson [mailto:[EMAIL P
5:47 PM
To: Gavin Bowlby; beginners@perl.org
Subject: RE: question on Perl determinism with hash keys
I personally have never felt the need. One thing I'll often do is a
foreach(sort keys %hash){
#do something...
}
If you know what the keys are going to be ahe
EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 5:37 PM
To: Timothy Johnson; beginners@perl.org
Subject: RE: question on Perl determinism with hash keys
Timothy et al:
Thanks, I did mean in the same order.
Any idea on the relative performance of a hash tied to IxHash vs. a
vanilla hash?
I have a Perl pr
Gavin Bowlby wrote:
> All:
Hello,
> If I populate a %hash within a Perl program, is there any guarantee that
> from run to run of the same Perl program the keys(%hash) function will
> return identical sets of keys?
Can I assume that you are worried about the order of the keys? Do you want
the k
make this change...
Gavin
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 5:28 PM
To: Gavin Bowlby; beginners@perl.org
Subject: RE: question on Perl determinism with hash keys
If you mean in the same order, then no.
perldoc -q
If you mean in the same order, then no.
perldoc -q order
-Original Message-
From: Gavin Bowlby [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 5:25 PM
To: beginners@perl.org
Subject: question on Perl determinism with hash keys
All:
If I populate a %hash within a Perl program
All:
If I populate a %hash within a Perl program, is there any guarantee that
from run to run of the same Perl program the keys(%hash) function will
return identical sets of keys?
thanks for any insights on this,
Gavin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi,
I'm trying to get CPAN's Net::FTPSSL working from my linux dev env.
I installed the dependent modules (Net::SSLeay IO::Socket::SSL) and
they seemed to work as expected. The following are the test scripts :
--
On Jul 7, 2005, at 8:16, Peter Rabbitson wrote:
Hello everyone,
Most modules I run across have a BEGIN block containing some variable
declarations, module loaders etc. Although I understand what BEGIN is
(code being evaluated immediately after it is parsed), I miss the
point
of the excercise.
On Thu, Jul 07, 2005 at 02:22:34AM -0400, Casey West wrote:
> This is a confusing question, but I think the answer is that a BEGIN
> block would come into play before any of these things are executed.
>
> --
> Casey West
>
>
Sorry :) Question is: why would I want to use a BEGIN block in the
Hello everyone,
Most modules I run across have a BEGIN block containing some variable
declarations, module loaders etc. Although I understand what BEGIN is
(code being evaluated immediately after it is parsed), I miss the point
of the excercise. For example:
package csv_generator;
use Text::C
--- John <[EMAIL PROTECTED]> wrote:
> If you put them in a module are they parsed before they are called?
> Does it matter whether you use "use" or "require"? When is it better
> to specify subroutines when you use "use"?
See perldoc -f use and perldoc -f require.
"use" happens at compile tim
If you put them in a module are they parsed before they are called?
Does it matter whether you use "use" or "require"? When is it better
to specify subroutines when you use "use"?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
PROTECTED]
Subject: Question on PERL coding style...
This might be a really strange question, but I need to ask -
Does PERL execute from beginning through the program in a linear fashion,
"jumping around" subroutines unless they're called?
I have a program that's structured as
, 2002 1:38 PM
To: [EMAIL PROTECTED]
Subject: Question on PERL coding style...
This might be a really strange question, but I need to ask -
Does PERL execute from beginning through the program in a linear fashion,
"jumping around" subroutines unless they're called?
I have a
This might be a really strange question, but I need to ask -
Does PERL execute from beginning through the program in a linear fashion,
"jumping around" subroutines unless they're called?
I have a program that's structured as shown below (assume vars and
statements are different) and need to know
27 matches
Mail list logo