- Website: www.perlmonks.org/?node_id=832495
- About: I blog about Perl.
- Posted Collisions in Block Names in Jemplate to E. Choroba
Commented on Soft call operator: ~> (thoughts)
Already discussed here: http://www.perlmonks.org/?node_id=973015...
Commented on OrePAN2 Processes MetaCPAN Lookups in Chunks
English is my second language, I just hope my blog post doesn't sound too harsh. I can imagine how maintaining an open source project works, how busy people could be with other stuff, and how exhausting it could be to...
- Posted OrePAN2 Processes MetaCPAN Lookups in Chunks to E. Choroba
Commented on Machine learning in Perl
Thanks for the great work!...
Commented on Adventure Series Part 3
I don't remember the details anymore, but each object had something like on_listen and on_enter, and it was possible to define on_action, too, for object specific actions. on_enter would typically contains the target room or object, but you could specify...
Commented on Adventure Series Part 3
If I remember correctly from my MUSHing years, it's better to define callbacks for actions. You can talk to a device (a telephone, maybe), and you don't want to limit your imagination by implementation, right?...
Commented on So I Guess I'm Back
We were periodically checking your CPAN and GitHub accounts for signs of activity. Welcome back!...
Commented on Swapping Things
Why don't you use the normal <pre><code class="prettyprint"> formatting of code?...
Commented on Saving Breakpoints in the Perl Debugger
I don't use Markdown, I write my blog posts in HTML, and PRE works OK for code. As a cargo cult, I usually insert CODE with class="prettyprint" into PRE, but I'm not sure it makes any difference. Unfortunately, Preview is...
Posted XML::CompactTree::XS Works Again to E. Choroba
In a GitHub issue discussion by my former colleagues, I noticed weird errors being reported. I was curious about the cause, but not enough to dig deeper, and as nothing happened, I forgot about it.
But then they asked me for a favour, and I agreed to help them with …
Commented on Short presentation of The new Perl debugger
I noticed a commit on GitHub whose message says perl5.24 is not available on Travis. It's easy to install it, just use before_install: - eval $(curl https://travis-perl.github.io/init) --auto...
Commented on Comparing Perl, Python, and Ruby's test assertions
Note that Test::Builder has changed, as announced by Exodist here....
Commented on 5 Things I Learned at YAPC
Hokkaido? YAPC::EU in Cluj comes in August!...
Commented on Perl 5 Porters Mailing List Summary: May 10th-18th
The link for Perl #100183: Carp won't print $. if it's in "chunk" mode. shouldn't lead to Perl's RT, but the module's one: https://rt.cpan.org/Public/Bug/Display.html?id=100183...
Commented on The Coro situation
There seems to be a patch, announced just the next day: http://www.nntp.perl.org/group/perl.perl5.porters/2016/05/msg236195.html...
Commented on The QA Hackathon 2016 was a great success!
The same picture accompanies two different paragraphs. Are you sure all the mentioned people are in it?...
Commented on Perl 6: The S/// Operator
In other words, is six's S/// an equivalent of five's s///r?...
Commented on Perl 5 Porters Mailing List Summary: April 14th-27th
The "Version control conflict markers." link under "New Issues" is wrong, as is the bug id - it references a Perl6 bug. The correct id and link are mentioned in the last paragraph....
Commented on Stupid Regexp Trick: Fail on match
I've seen the trick with (*SKIP) instead of (*COMMIT), it doesn't seem to change the behaviour here. Also, note that Perl accepts underscores in numbers: say 0b0_1_0_1_0_1...
Commented on A Date with CPAN: And Now, a Word from Our Sponsor
The matrix is only the first step. You can try the more detailed and sophisticated analysis of the reports at (probably still experimental) http://analysis.cpantesters.org/solved?distv=Date-Easy-0.01...
Commented on Perl 6 Types: Made for Humans
But don't fall into the trap of creating a type you can't instantiate: http://stackoverflow.com/q/34612657/1030675...
Commented on Perl 5 Porters Mailing List Summary: March 7th-14th
Perl #127668 seems to be a documented behaviour, check PerlIO under Defaults and how to override them....
Posted Regex /m modifier bug in Perl 5.8.8 and older to E. Choroba
It’s 2016, but the CPAN Pull Request Challenge continues. Motivated by my 100% in 2015, I subscribed to the second year, as well. Unfortunately, I didn’t have time to blog about my January PR, but it would have been more…
Commented on Perl 5 Porters Mailing List Summary: February 2nd-7th
The last link is probably wrong. I tried replacing 23 with 12 to get a ticket number more similar to the other, but that's probably not the right one either....
Commented on A Date with CPAN, Part 6: Time Won't Give Me Time
To answer your question: in "A B C", you can remove "B " that's followed by C, but you can't remove "B " at the end of the string, that's followed by C. The look-ahead is zero-length, so the $...
Posted Mocking a User Agent to E. Choroba
My last assignment in the CPAN Pull Request Challenge 2015 was Net::Stripe. I’d never heard of the module, so I skimmed its documentation to learn it provides …
Commented on is firewall of server blocking my script ... ?!
Your post is not a real blog post, it's rather a question. It's not Perl related, either. Why to post such a shell question on a Perl blog site? You might get more answers at Stack Overflow....
Commented on Programming Exercises for beginners
You could try asking the author of Contest Coding, my solutions are on GitHub....
Posted Net::SFTP::Foreign in taint mode to E. Choroba
Pablo Rodríguez commented on
Machine learning in Perl
Joel Berger commented on
So I Guess I'm Back
Oh I missed this post, glad to have you back!
zaki commented on
So I Guess I'm Back
Yay! Glad to see you around again!
Erik commented on
Perl 6 Types: Made for Humans
Are there any performance gains/hits when using variable types?
Zoffix Znet commented on
Soft call operator: ~> (thoughts)
> I try to google existing analogues
We actually have safecall operator (.?) in Perl 6. It looks if an object .^can() call the provided method and returns Nil if it can't.
It's not very versatile, because of the stuff a Nil type inherits, some of the methods you CAN call on it, but the call still fails because of type restrictions on those methods, so the whole thing goes crashing anyway.
I guess Perl 5 isn't affected as much, since `undef` isn't an object, but I encourage you to think up of cases where it might end up being one...
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.