Re: calendar marked_date array
- From: Nori Heikkinen <nori+gtk-perl maenad net>
 
- To: gtk-perl-list gnome org
 
- Subject: Re: calendar marked_date array
 
- Date: Fri, 22 Aug 2003 13:24:09 -0400
 
on Fri, 22 Aug 2003 01:12:50PM -0400, Chas Owens insinuated:
Quoting Nori Heikkinen <nori+gtk-perl maenad net>:
<snip>
both [1] and [2] seem to say that each calendar object (widget) should
have an array called marked_date that stores which days are marked.
should this not do it?
</snip>
this line
   if ( $cal->marked_date[ $d-1 ] ) {
should be
   if ( ($cal->{marked_date})[ $d-1 ] ) {
excellent, that was it.
now my next question is, why can't i leave that array name plain?  why
does it have to be in brackets?  i can just go back to the camel book
here ...
(heh, seems that the "RTFM" for this list could be "RTFCB" (camel
book) ;)
thanks!
</nori>
-- 
    .~.      nori @ sccs.swarthmore.edu
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^
            get my (*new*) key here:
   http://www.maenad.net/geek/gpg/7ede5499.asc
      (please *remove* old key 11e031f1!)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]