Mike Williams wrote:
On Thu, Apr 10, 2008 at 12:41 AM, Perl CGI script enhancer <
[EMAIL PROTECTED]> wrote:

my $email = populateEmail("test");
print $email;

<snip>

Well, I didn't see it at first, so I cut and pasted a snippet of your code
into a local file, ran it at the command line and got:
Undefined subroutine &main::populateEmail called at ./cgi_list_bug.pl line 6

<snip>

This same question (without the missing 'sub') has already been asked and answered in clpmisc.
http://groups.google.com/group/comp.lang.perl.misc/browse_frm/thread/c8c266eb779a4cb4

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to