this post was submitted on 11 Jul 2024
22 points (86.7% liked)

Programming

17369 readers
450 users here now

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 [email protected]



founded 1 year ago
MODERATORS
 

Hello,

I started learning Perl some time ago I also made a IRC bot using it however it is a very simple and basic bot but it's something I made using Perl :D

I also stumble upon some language quircks of Perl it's has bash vibes where if you don't do things right way it punishes you. eg, when you forget to quote your parameter expansion and bash performs word spliting and you are confused what's wrong!

so now I learned I language which I can use to manipulate text :D

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 4 months ago* (last edited 4 months ago)

Nice! My first big Perl program was an IRC bot named GoatNuts back in '96/'97.

I learned a lot of Perl from Randall Schwarz (Programming Perl, O'Reilly) himself (who was doing community service for 'hacking' intel) in the #perl chanel on EfNet! Later hung out with him at a mutual friends party and he was an absolute asshat. Best lessons from Randall were to use strict; and always run with the -w flag and then heed and fix the warnings. When you can write beautiful strict perl with no warnings the code is much easier to maintain.

Met Larry Wall (author of Perl) at The Perl Conference 1.0 and he was a gem.

If you find you're doing any web scraping look into the obscure spaceship operator. It makes parsing a small piece of larger text so much easier if you have good stop and start points.

Cheers on your journey! Not too many proud perl hackers out there but I made a good chunk of coin off that language and it was my first 'real' language so it has a dear place in my heart!