klon_u has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Would like to know in perl, how to get the flow of the perl script with each executed line (command) in expanded form,
as in shell scripts we can get the flow using -x and -v flags
For eg. sh -x -v scriptname >script.out 2>&1