Works nicely, but bear in mind that that is essentially a placeholder - that 's/...' line is replacing the text '$table_name' with the value held in the variable '$table_name'. I'd tend to suggest that's a source of confusion later on.
In reply to Re^3: Storing a variable in a file and processing within the script
by Preceptor
in thread Storing a variable in a file and processing within the script
by tony@perlmonks.org
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |