buadmin has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to debug a perl script and I came across a variable declarations like so ...

perl_path="@perl_path@" perl_shared_lib_dir_base="@perl_shared_lib_dir_base@"

I don't understand the why these declarations have trailing @ symbols. Can someone kindly please explain these declarations? Thank you.

Replies are listed 'Best First'.
Re: leading and trailing @ symbols in variable declarations
by Argel (Prior) on Sep 17, 2012 at 23:25 UTC
Re: leading and trailing @ symbols in variable declarations
by ikegami (Patriarch) on Sep 17, 2012 at 23:00 UTC
    That's not Perl code.
Re: leading and trailing @ symbols in variable declarations
by MidLifeXis (Monsignor) on Sep 18, 2012 at 13:13 UTC

    Perhaps that is Yet Another Template System. I have seen (and used) that type of a construct when doing search and replace type building of a script at the shell level.

    sed -e 's,@perl_path@,/my/path/to/perl,g; ...'

    --MidLifeXis