There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
"build" refers to Inline creating a module in _Inline (like h2xs) and making it at use/BEGIN time (perl Makefile.PL/make install), before your program runs, ex subsequent runs don't "build" unless the c-source changes The resulting directory structure The _Inline/build directory usually gets cleaned up, but not for notdef.pl notdef.pl also NAME's the module, so its name doesn't change, but def.pl doesn't NAME the module, so a name is derived from the filename (def.pl) and the md5 sum of the c-source code Now, can two copies of notdef.pl run simultaneously? Lets see First cleanup $ rm -rfv _Inline And one copy will trip over the other and die , the other will continue normally Now I'm not sure what scenario davido is talking about in the OP, but I hope this helps FWIW, def.pl/notdef.pl are derived from XS: returning a 64-bit unsigned int?/Re: Inline::C with multiple *.c In reply to Re^4: Where should (or could) a distribution override HARNESS_OPTIONS? (use Inline works like this)
by Anonymous Monk
|
|