Re: [offtopic] perl newbie frustrated

2006-07-18 Thread tomas
On Sat, Jul 15, 2006 at 02:12:34AM -0400, Jonathan Vanasco wrote: > > On Jul 13, 2006, at 7:41 PM, Philip M. Gollucci wrote: [...] > I thought read once that within an array declaration, [] is a real > array and not a reference-- or did i dream that up and have been > dealing with anonymous ar

Re: [offtopic] perl newbie frustrated

2006-07-15 Thread Malcolm J Harwood
On Thursday 13 July 2006 19:41, Philip M. Gollucci wrote: > checkout Data::Dumper; or Data::Dumper::Simple, which I much prefer. -- "Why do you always try to draw me into your little verbal fencing matches?" "Because I don't have a real sword handy." - Londo's wives in Babylon 5: Soulmates

Re: [offtopic] perl newbie frustrated

2006-07-15 Thread Philip M. Gollucci
Jonathan Vanasco wrote: > my @real= ( 1 , [11,12,13] , 2 ,[21,22,23] ); > my $ref= [1,2,3]; perl -le 'my @real= ( 1 , [11,12,13] , 2 ,[21,22,23] ); print @real;' 1ARRAY(0x804d16c)2ARRAY(0x804d244) -- Philip M. Gollucci (

Re: [offtopic] perl newbie frustrated

2006-07-14 Thread Jonathan Vanasco
On Jul 13, 2006, at 7:41 PM, Philip M. Gollucci wrote: If anyone could please explain what I missed on the differences between ( ) array's and [ ] array's, I'd appreciate it. You want instead beginners@perl.org Or perlmonks.org , where google will index it better () is an ARRAY [] is a refe

Re: [offtopic] perl newbie frustrated

2006-07-13 Thread Philip M. Gollucci
If anyone could please explain what I missed on the differences between ( ) array's and [ ] array's, I'd appreciate it. You want instead beginners@perl.org () is an ARRAY [] is a reference to an array. my @a = (1,2,3); my $b = [1,2,3]; my $r = [EMAIL PROTECTED]; print @a; print @$b; print $r;

Re: [offtopic] perl newbie frustrated

2006-07-13 Thread will trillich
On 7/13/06, Matthew <[EMAIL PROTECTED]> wrote: And for cookie points, if anyone knows how to do a real struct in XMLRPC, that would be awesome. how about SOAP::Lite? -- will trillich "The great enemy of clear language is insincerity." -- Eric Arthur Blair (George Orwell)

Re: [offtopic] perl newbie frustrated

2006-07-13 Thread will trillich
um, lemme clarify a bit there-- On 7/13/06, will trillich <[EMAIL PROTECTED]> wrote: () is a LIST of values, perfect for plopping into an array: @a = (qw/one two three/, 22/7, pi()) a list is a series of values. an array is a place-holder for a series of values. (1..99,'a'..'z',@stuff,qw

Re: [offtopic] perl newbie frustrated

2006-07-13 Thread will trillich
On 7/13/06, Matthew <[EMAIL PROTECTED]> wrote: Apologies for this being off-topic, but this is the best "perl resource" I have. my $test = [2, 4, 8]; print $test; >Array(0x3038303) Oh? That's an array format. OK. Try this: my @test = (2, 4, 8); print @test; >248 ??? Confused. If anyone

Re: [offtopic] perl newbie frustrated

2006-07-13 Thread Max Kanat-Alexander
On Thu, 2006-07-13 at 16:51 -0500, Matthew wrote: > If anyone could please explain what I missed on the differences between > ( ) array's and [ ] array's, I'd appreciate it. () is an array [] is a reference to an array, also known as a "pointer" to an array. -Max -- http

[offtopic] perl newbie frustrated

2006-07-13 Thread Matthew
Apologies for this being off-topic, but this is the best "perl resource" I have. I've been trying for the past 2 hours to get Frontier::Client working (XML-RPC). I originally tried RPC::XML but that dude's documentation was lacking some serious examples. So is F::C, but I found several HO