In *nix land, your file permissions are based on your umask.
Having said that, you cannot set a umask in a way that will toggle the x flag. I like the .bashrc solution since you mentioned that you are using bash as your shell.
Note: It's not a failing of umask to not let you default to +x on a file. That's a GoodThing(tm). Having +x by default is a BadThing(tm). But if you just want a shortcut to editing perl and adding the +x, then the alias is your best bet.
In reply to Re: perl file permissions
by KurtSchwind
in thread perl file permissions
by BadMagic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |