bdouglas1 (bdouglas1) wrote in lj_everywhere,
bdouglas1
bdouglas1
lj_everywhere

a basic perl/perl module question....

hi..

i must be missing something. i've tried to copy/add a sub in the BML.pm file. i've then tried to use the new sub in the login.bml file, after restarting apache. i get a 'undefined subroutine &BML::aa' which is odd, given that i can see the 'aa' sub in the BML routine. the sub that i copied it from is there, and is in fact accessed from the login.bml file in the same manner. so, the issue is with me creating the test sub in the BML.pm file..

i've checked to see if there's some sort of EXPORT function, that i should perhaps modify to add the new subroutine, and can't find anything...

at the risk of being slammed (yeah, i'm laughing!!) can someone point to me what/where i need to make a change to be able to successfully add a subroutine to the BML.pm file, and to access it via the login.bml file..

what's the incredible simple/embarassing thing i'm missing...

thanks..

bruce
bedouglas@earthlink.net

(ps.. and don't just say i don't know perl... the guys that i've talekd with have stated that there should be some sort of EXPORT function.. but they also ackowledge that mod_perl might behave differently...)
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 10 comments