3 ms·
Difficult to say. I picked up a bunch of info from perl.org: https://perldoc.perl.org/perl#Tutorials https://perldoc.perl.org/perl#Tutorials Perlmonks was a g
by HybridCurve 3y ago
Difficult to say.
I picked up a bunch of info from perl.org: https://perldoc.perl.org/perl#Tutorials https://perldoc.perl.org/perl#Tutorials
Perlmonks was a good source for certain specifics.
Doing is better than reading IMO. Open files, parse log data or such with regexes, sort them into a hash, and return that by reference. Perl has different ways of doing things that aren't common in some languages such as how it deals with binary data (see pack/unpack).
Coming from python, I would say forego the delving into OOP aspect of perl as it is more of an afterthought than a core feature. Focus on understanding data management with scalars, lists, hashes, and the core functions (Perl has native functions for things like sorting which are quite useful).
I managed to go from C to perl over a weekend but it takes hours of practice to improve.