On 12.08.08 12:12 Tarakad Raghavan Viswanathan (KIRK 21) wrote:

> Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead of the 
> value.

Hi, have a look at references in the perl documentation.

#!/bin/perl

use strict;

$\="\n";
my $arr = [ qw(an array) ];

print $arr; # prints ARRAY(0x8152c28)
if (ref($arr) == "ARRAY") {
     print join(" ", @$arr);
}


Cheers,
Wesley

-- 
Online Broadband BV, http://www.online.nl, http://www.euronet.nl
Wesley Schwengle, System Administrator, IT Operations (Development/Integration)
Muiderstraat 1, PO BOX 10241, 1001 EE Amsterdam, T: +31 20 5355555, F: +31 20 
5355749
!! Please be aware that my e-mail address has changed (again) to:  
wesley.schwengle at
!! is.online.nl, mails send to my previous address will NOT be forwarded !!


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to