From: David L. Nicol [mailto:[EMAIL PROTECTED]] > > Is there a way to determine if a word is defined as a command? (A few > methods come to mind, including getting a list from the documentation > and making a hash of it) foreach my $func (qw(grep map die printf sprintf foo bar baz)) { eval { prototype "CORE::$func" }; $@ and print "$func not a builtin\n"; } Garrett
- How to tell (in perl5) if friz is a core command or not? David L. Nicol
- Re: How to tell (in perl5) if friz is a core command o... Garrett Goebel