--- Chris Zampese <[EMAIL PROTECTED]> wrote: > How do I call a subroutine in a cgi script. I thought that it was just > > subroutine_name(); > > but that does not seem to be working for me? > > You guys are great. Thanks for your help (both from answering my questions, and >from answering > other peoples!) > > Chris
That *is* how you call a subroutine (well, one way). Can you show us the code that's not working? Tell us what you expect for output and what you're really getting. "not working" is not terribly descriptive :) Cheers, Curtis "Ovid" Poe ===== "Ovid" on http://www.perlmonks.org/ Someone asked me how to count to 10 in Perl: push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//; shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]