in reply to Re: Re: Problem with require()
in thread Problem with require()

That will teach me to apply C concepts to perl ;)... never knew I did not need the "return" keyword

And when is the last time you successfuly return'd from a #include'd file?

Replies are listed 'Best First'.
Re: Re: Re: Re: Problem with require()
by dakedesu (Scribe) on Dec 19, 2001 at 07:03 UTC

    That is not quite what I was getting at... but thanks for the new spin on how to look at it...

    I just used return, cause in PHP and C (yes, I will wash my mouth out with soap, if required) you did not need something at the end of a required file... I cannot remember the exact error message I got with my first require()'d file but I jumped to the conclusion (great exercise BTW) that I need return

    DakeDesu teh Confused Werewolf.
    Year Neo 3102
    (Webpages under construction)