FAQ

At 3:19 PM -0700 6/7/04, Nate Smith wrote:
[$ sub month_cal $]

[-
my ($y, $m) = @_;

my @months = qw('' January February March
April May June July
August September October
November December);
This declares a local variable for the scope of the [-
[$ foreach $dow @days $]
This refers to a page-global variable.

At the top of your page, put
[$ var @days $]
(and add the other variables)

--
Kee Hinckley
http://www.messagefire.com/ Next Generation Spam Defense
http://commons.somewhere.com/buzz/ Writings on Technology and Society

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedJun 7, '04 at 11:20p
activeJun 8, '04 at 12:42a
posts2
users2
websiteperl.apache.org

2 users in discussion

Nate Smith: 1 post Kee Hinckley: 1 post

People

Translate

site design / logo © 2022 Grokbase