in reply to move command

Yes, that is causing the problem. Do you want to rename the file without an ampersand?
#!/usr/bin/perl $filename = 'new\&name.txt'; `mv $filename new_filename_renamed.txt`;