Perl is excellent for text manipulation! I use it time from time when I need to do more advanced text manipulation in bash. perl -ne ‘[code goes here]’
is good for making one liners in bash.
Have you considered raku? I'm not super familiar with perl but I assumed raku is perl improved
I haven't tried raku TBH, I have only heard about it. Is the syntax is significantly different than Perl?
Yes its a different language by the same creator.
I remember your previous post, congrats on not giving up.
Whipping up a script to solve a very specific problem is super satisfying, but I found that anything you write quickly becomes a liability. Debugging Perl can be super difficult, especially when returning to something you wrote a while back.
Personally I grew tired of the punishment and left it all behind! If I need a quick script I’ll use Python instead, and if it doesn’t work I can use a real debugger to fix it.
In any case it’s always fun learning new things, I hope this experience ends up being useful to you in the future and you get to easily solve a problem that stumps everyone else involved.
Cheers!
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev