Re: [Arsperl-users] Printing Array fields

2008-08-12 Thread Tarakad Raghavan Viswanathan (KIRK 21)
Great thanks. This worked. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black Sent: Tuesday, August 12, 2008 1:44 PM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Printing Array fields Please look at this for details of

Re: [Arsperl-users] Printing Array fields

2008-08-12 Thread Wesley Schwengle
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 AR

Re: [Arsperl-users] Printing Array fields

2008-08-12 Thread Carey Matthew Black
Please look at this for details of Diary fields: http://arsperl.sourceforge.net/manual/ds_diaryentry_hash.html This might also be of some help, but it is how to construct a Diary entry and not how to read it. http://arsperl.sourceforge.net/manual/ars_EncodeDiary.html Here is a snip of some code

[Arsperl-users] Printing Array fields

2008-08-12 Thread Tarakad Raghavan Viswanathan (KIRK 21)
> Hello, > > Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead > of the value. > > Can someone advice please. The displayorder contains the fields I > want to print. All fields print ok except the Work Log > >foreach $ticket ( sort keys %tickets ) { > (%