Since i am really lazy and find it annoying to do this for every new perlscript:
#!/usr/bin/perl use strict; use warnings;
So i consider to insert the above lines (if not already at the first line of the file #!/usr/bin/perl)
in every file in directory $directory = "~/perl" , afterwards if the file is *not executable* i want it to "chmod u+x"
In reply to Some automation on Perlscripts? by matze77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |