You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on a macro file foo.pl and decided I wanted to start over with a different approach. I saved foo.pl as foo.pl.bak and got a fresh copy of foo.pl and make new edits. I got to a certain point and ran run-perltidy.pl on foo.pl. It turns out this destroyed foo.pl.bak.
I see now reading the documentation for run-perltidy.pl that it will do this, although I'm not sure the script considers if foo.pl.bak might already exist. Could we change it so the script aborts if foo.pl.bak exists, and it gives an error message? Then you could either decide to delete the backup file, or use a different extension.
The text was updated successfully, but these errors were encountered:
I was working on a macro file
foo.pl
and decided I wanted to start over with a different approach. I savedfoo.pl
asfoo.pl.bak
and got a fresh copy offoo.pl
and make new edits. I got to a certain point and ranrun-perltidy.pl
onfoo.pl
. It turns out this destroyedfoo.pl.bak
.I see now reading the documentation for
run-perltidy.pl
that it will do this, although I'm not sure the script considers iffoo.pl.bak
might already exist. Could we change it so the script aborts iffoo.pl.bak
exists, and it gives an error message? Then you could either decide to delete the backup file, or use a different extension.The text was updated successfully, but these errors were encountered: