Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Command line questionby igotlongestname (Acolyte) |
on Jun 19, 2008 at 17:31 UTC ( [id://692975]=note: print w/replies, xml ) | Need Help?? |
Yeah, you're dead on. This line is from a Makefile from an old code. This line has been stumping us a bit, and I'm the only one that knows Perl (and I don't know it that well), so I got lost trying to search this through as so many of the delimiters were odd to me (the s+ and ++g etc...). So this is working code that does what it's supposed to, but I'm having trouble totally seeing what it does. I'd like to actually get the .depend file before the Perl script, then again after it to compare ... it may shed some light for me. So what you're thinking is that each instance of ${something} is actually some value, stored in ${something} being passed in to the Perl script? Is that roughly correct? Finally, could the $${OBJECT} be right? Could it be substituting the value of ${OBJECT}, with a preceding "$" sign into the code, to be read and interpreted by the shell? I may be way off and talking over my head too, if it doesn't make sense, don't try to make it as it's probably wrong. Thanks! ~Jack
In Section
Seekers of Perl Wisdom
|
|