ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
Re: To find if a function exists
by David Nicol other posts by this author
May 31 2006 8:54AM messages near this date
Re: To find if a function exists | RE: To find if a function exists
# perl -wle 'sub aaa{print 1}; exists &main::aaa and print "yes"'
yes
# perl -wle 'sub aaa{print 1}; exists &main::aab and print "yes"'
#


-- 
David L Nicol
"For every thousand hacking away
at the leaves of evil, there is one
striking at the root." -- Thoreau.
Thread:
Sasisekar Krish
Alan M. Carroll
David Nicol
Mathieu Longtin
Charles K. Clarkson
Eric Amick
$Bill Luebkert

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved