If I have a file with a shebang line (e.g. #!/bin/bash) open in Vim and the file has execute permissions (i.e. chmod +x) I know I can type this to exec
#!/bin/bash
chmod +x
When starting vi, specify file path explicitly, like this "vi ./blablabla"
vi ./yourscript.pl
After that start at anytime with only :!%
The other variant is to invoke the vi command like this
!./%