in reply to Perltidy with symbolic links

Something like

perltidy script.pl && cat script.pl.tdy >script.pl && rm script.pl.tdy

Note, that it doesn't create backup.

Update: another approach is to dereference symlink:

perltidy -b `readlink script.pl`

Replies are listed 'Best First'.
Re^2: Perltidy with symbolic links
by notwitch (Acolyte) on Mar 10, 2010 at 19:21 UTC
    Thanks, no backup isn't much of an issue since the file is under version control anyway.