Perl likes this:
 $string = "'Hello ' . `executethis` . ' test\n'";

You probably want to surround the whole string in single quotes, but use 
dot-concatenation to string the pieces of command together.  I didn't 
try what you have below, but I did notice that backticks weren't being 
executed if they were inside a string (for me, running perl on win32 at 
least).

Good luck,
JH

Brien Dieterle wrote:
> How can I get this to work? I am storing the data inside lasttime.txt 
> (don't ask why) :-)
>
> $Conf{TarIncrArgs} = '--newer=`cat lasttime.txt` $fileList+';
>
> the shell command within ` ` does not get executed, so of course this 
> doesn't work at all.  Any ideas?
>
> Thanks!
>
> Brien
>
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to