RE: Perl test tools

2007-03-05 Thread Nath, Alok (STSD)
My requirement is something which run a suite of commands, results reporting. Also remote job launching, getting the results and probably displaying on a web. Something like that. Thanks Alok. -Original Message- From: Jeff Pang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 1

Re: Perl test tools

2007-03-05 Thread John W. Krahn
Nath, Alok (STSD) wrote: > Hi, Hello, > Is there any open source test frameworks or test tools in perl ? http://search.cpan.org/search?m=module&q=test&s=1&n=100 John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short

Re: what does foreach do?

2007-03-05 Thread Jeff Pang
> >In modern versions of Perl that is equivalent to: > >for ( $_ = 1; $_ >= 10; ++$_ ) { >print $_ >} > Maybe it's for ( $_ =1; $_ <=10; ++$_ ) { .. } :-) -- http://home.arcor.de/jeffpang/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Perl test tools

2007-03-05 Thread Jeff Pang
> >Hi, > Is there any open source test frameworks or test tools in perl ? > I did some googling and found lot of test tools in other >languages > but not anything good in perl. > Hello, What would you test for? -- http://home.arcor.de/jeffpang/ -- To unsubscribe, e-mail: [EMA

Re: what does foreach do?

2007-03-05 Thread John W. Krahn
Gary wrote: > I hope this is the right place to ask this question. > > So I've seen code like this > > for (1..10) { > print $_ > } > > > What's going on behind the scenes with that? In modern versions of Perl that is equivalent to: for ( $_ = 1; $_ >= 10; ++$_ ) { print $_ } In olde

Perl test tools

2007-03-05 Thread Nath, Alok (STSD)
Hi, Is there any open source test frameworks or test tools in perl ? I did some googling and found lot of test tools in other languages but not anything good in perl. Does anybody know about it ? Thanks Alok. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: help with array within another array

2007-03-05 Thread John W. Krahn
Dr.Ruud wrote: > > "John W. Krahn" schreef: >> >> Dr.Ruud wrote: >>> >>> Yes, "passing the bareword test" is a better phrase than only >>> mentioning "word" characters. >>> >>> There are border cases though: >>> >>> perl -Mstrict -MData::Dumper -wle' >>> $_ = { AB => 1, +AB => 2, -AB => 3 }; >

what does foreach do?

2007-03-05 Thread Gary
I hope this is the right place to ask this question. So I've seen code like this for (1..10) { print $_ } What's going on behind the scenes with that? Is it creating an array? What if I want to use for (1..100) ? Also, What's the internal structure of Perl arrays? I can't find anythi

Re: Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Jesse Engel
well i haven't read intel's side of it, but i am very happy about this as well. congratulations! i imagine you can even vote again! jesse --- Neal Clark <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > that is a total bummer. I am reading one of his books right n

Re: help with array within another array

2007-03-05 Thread Dr.Ruud
"John W. Krahn" schreef: > Dr.Ruud wrote: >> "Chas Owens" schreef: >>> Dr.Ruud: >> Some evaluation is done first: perl -Mstrict -MData::Dumper -wle' $_ = {0b1_0 => "A", 01_0 => "B", 0x1_0 => "C", 1_0 => "D", _1_0 => "E", *_ => "F", \_ => "G"}; print Dumper $_

Re: private method

2007-03-05 Thread Dr.Ruud
"Chas Owens" schreef: > www.nas.nasa.gov/News/Techreports/2000/PDF/nas-00-008.pdf. Recently I was playing with something similar, when context-variables were discussed on perl6.language: #!/usr/bin/perl5 -l use strict; use warnings; sub context { sub bad_scope { $_[0] .q/->context, b

Re: Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Neal Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 that is a total bummer. I am reading one of his books right now. Very well written. If you read this, congratulations on beating the stupid charges Mr. Schwartz! On Mar 5, 2007, at 9:31 AM, Mathew wrote: Well in that case, congratulations Rand

Re: help with array within another array

2007-03-05 Thread John W. Krahn
Dr.Ruud wrote: > "Chas Owens" schreef: >> Dr.Ruud: > >>> Some evaluation is done first: >>> >>> perl -Mstrict -MData::Dumper -wle' >>> $_ = {0b1_0 => "A", 01_0 => "B", 0x1_0 => "C", 1_0 => "D", _1_0 => >>> "E", *_ => "F", \_ => "G"}; >>> print Dumper $_ >>> ' >>> $VAR1 = { >>> '8' =>

Re: help with array within another array

2007-03-05 Thread Dr.Ruud
"Chas Owens" schreef: > Dr.Ruud: >> Some evaluation is done first: >> >> perl -Mstrict -MData::Dumper -wle' >> $_ = {0b1_0 => "A", 01_0 => "B", 0x1_0 => "C", 1_0 => "D", _1_0 => >> "E", *_ => "F", \_ => "G"}; >> print Dumper $_ >> ' >> $VAR1 = { >> '8' => 'B', >> '_1_0' =>

Re: Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Mathew
Well in that case, congratulations Randal Mathew Ovid wrote: > --- Mathew <[EMAIL PROTECTED]> wrote: > > http://articles.techrepublic.com.com/2100-1009_11-6164113.html?tag=nl.e019 >> Mathew > > Yes, it's the same one. Oregon computer crime laws are such a pitiful > joke that if I tell you not

Re: Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Ovid
--- Mathew <[EMAIL PROTECTED]> wrote: > http://articles.techrepublic.com.com/2100-1009_11-6164113.html?tag=nl.e019 > > Mathew Yes, it's the same one. Oregon computer crime laws are such a pitiful joke that if I tell you not to not to call me and you leave me a voice mail, you've committed a fel

Re: Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Beginner
Mega. About time too. On 5 Mar 2007 at 11:56, Mathew wrote: > http://articles.techrepublic.com.com/2100-1009_11-6164113.html?tag=nl.e019 > > Mathew > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Off-Topic: Is the Randall Schwartz of Perl Fame?

2007-03-05 Thread Mathew
http://articles.techrepublic.com.com/2100-1009_11-6164113.html?tag=nl.e019 Mathew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

SOAP query

2007-03-05 Thread Beginner
Hi, I am trying to get started with SOAP. I am using mod_perl::Registry, the server script is below. I want to verify that the number of arguments being passed to the server is correct. In the snip below I presumed all the arguments would be items with @_ but it looks like all the arguments ar