The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.perl.misc
From: "Dave Saville" <d...@invalid.invalid>
Date: Tue, 13 Nov 2012 13:38:07 +0000 (UTC)
Local: Tues, Nov 13 2012 8:38 am
Subject: static variable problem
Please why does this throw an error?
[T:\tmp]cat try.pl
foo("Hello World");
sub foo
}
[T:\tmp]try.pl
Use of uninitialized value in concatenation (.) or string at try.pl line 12. Hello World So $bar is private to foo - but you can't initialise it?
TIA
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||