in reply to 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

Thanks for your solution... I will make sure you get credit (I ALWAYS give credit)

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

Replies are listed 'Best First'.
Re: Re: Re: Problem with require()
by dws (Chancellor) on Dec 19, 2001 at 06:59 UTC
    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?

      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)