i think the error in open(FH_KW, "$sMetaKeywordsfile") $sMetaKeywords = do { local $/; ; }; close(FH_KW); open(FH_DS, "$sMetaDescriptionfile") $sMetaDescriptionfile = do { local $/; ; }; close(FH_DS);but i don't know how to modify it, would you mind correct it for me? thanks
... open(FH_KW, "$sMetaKeywordsfile") $sMetaKeywords = do { local $/; <FH_KW>; }; close(FH_KW); open(FH_DS, "$sMetaDescriptionfile") $sMetaDescriptionfile = do { local $/; <FH_DS>; }; close(FH_DS);...
after added new function in the tpl file, the new form is created can't be save.
thanks your reply.i think the error is in:$sMetaKeywordsfile="C:\somepath\test\test.asp"$sMetaKeywordsfile= ~ s/\\/\//; i can't replace the '\' to '/'the "created can't be save" means: after i click file->new form entry, and input some info in it, i can't save(i think it can't generate DCR).would you train me about it? thanks
thanks your instruction.i try your code($sMetaKeywordsfile =~ tr|\\|/|the result is ("C:somepath est est.asp")it is same as my code( $sMetaKeywordsfile =~ s/\\/\//would you help me?