in reply to Re: C comment stripping preprocessor
in thread C comment stripping preprocessor

Actually concat is there:

sub concat ($) {$decommendedText .= $_[0]; 1;}

:)

Update: Thanks for the other tips - especially the returned result from file and eof detection.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^3: C comment stripping preprocessor
by ikegami (Patriarch) on Aug 09, 2006 at 18:43 UTC
    It was in main::. In the caller. Why would a module rely on the calling script to provide its internal functions? That's no good. I moved the function into the module where it should be. The problem becomes extremely evident when you Precompile (as you should).