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
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
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 (
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
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;
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)
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
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
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
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
10 matches
Mail list logo