in reply to ExtUtils::Embed function sequence affect output?

as above, if you put ldopts before ccopts, perl will omit it silently. Is it a bug or feature? it's really a pitfall to me tho ;)

Use Basic debugging checklist always

$ perl -MO=Deparse -MExtUtils::Embed -e"ldopts" -e"ccopts" use ExtUtils::Embed; ldopts(ccopts()); -e syntax OK
and try
perl -MExtUtils::Embed -e"ldopts; " -e"ccopts"

Replies are listed 'Best First'.
Re^2: ExtUtils::Embed function sequence affect output? (B::Deparse)
by xiaoyafeng (Deacon) on Jul 16, 2013 at 14:28 UTC
    Thanks! the article you refer is very helpful!




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction