The -g only came in with perl 5.36 so won't be available in many LTS platforms unless they backport it. Using -0777 as you have mentioned is perfectly fine and, AFAIAA, will continue to be.
🦛
In reply to Re^4: Using Look-ahead and Look-behind
by hippo
in thread Using Look-ahead and Look-behind
by Roy Johnson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |