Brad Gilbert
- About: I blog about Perl.
Recent Actions
-
Commented on Comparing Apples and Oranges - rubygems vs cpan part 2
I agree that it could be made easier to upload modules. I think we should strive for higher quality of code on CPAN; rather than on sheer quantity. So I think we should have a few minor hurdles to jump...
-
Commented on How do we know when a CORE module is deprecated?
It is not deprecated. I think mst misread an email from Ricardo Signes to the P5P list....
-
Commented on Holy bloat, Batman!
I have sent a patch to Perl5 Porters to remedy this situation. Based on the comment just before "*{chr 256} = \3;" this should have been reworked after the next dev release (5.15.4). - # Before this makes its way...
-
Commented on Holy bloat, Batman!
The offending line: *{chr 256} = \3; which is only used for: if (exists ${__PACKAGE__."::"}{"\xc4\x80"}) { delete ${__PACKAGE__."::"}{"\xc4\x80"}; *_DOWNGRADE = sub () {1}; } else { delete ${__PACKAGE__."::"}{chr 256}; *_DOWNGRADE = sub () {0}; } Thank you for bringing this...
-
Commented on pathed - munge the Bash PATH
Marcel, Env is actually a really small module. Especially since it works on many different systems....
-
Commented on Swampy.pm6
Why would you do all kinds of difficult work, when you can easily cheat? ( Like using the elevator instead of the stairs ) Perl has stolen many ideas from other languages. Why not cheat when you are writing answers...
-
Commented on Think Python, But Perl 6 - Chapter 3: Functions
Exercise 3 is slightly wrong. It doesn't take into account that Unicode characters have different widths. This is of-course a problem with the question, not with your answer....
-
Commented on PAUSE permissions should be case-insensitive
This is (of-course) also a problem on Windows....
-
Commented on Bringing Perl5 to GitHub
I know there was a project that imported their entire bug-report database into GitHub. ( may have actually been Rakudo )...
-
Commented on A very small script to check the masking information for each of the cloned devices.
Instead of copying the commands into batch file, why don't you just execute them? (using one of the following) system "symmask -sid $symmid list assign -devs $+{source}"; `symmask -sid $symmid list assign -devs $+{source}`; system 'symmask', '-sid', $symmid, qw'list assign...
-
Commented on My Prediction
Changing the version to 7 will probably cause more problems than it solves. I also doubt that just changing the version number will (by itself) really change things enough for it to be worth it....
-
Commented on Q: When not to use Regexp? A: HTML parsing
http://stackoverflow.com/a/1732454/1337...
-
Commented on OT: Reset/Use Another Netflix Streaming Server
I think this would only work if your modem gets a new IP address. Some people pay to have a static IP address....
-
Commented on A Look At Arrays
Perl arrays are not implemented using linked lists. See PerlGuts Illustrated....
- Posted Perl 6 and D separated at birth to Brad Gilbert
-
Commented on On defined(@array) and defined(%hash)
All of the use cases for defined except defined($scalar) are better done with exists, scalar,!! or just removing defined. defined &func === exists &func defined func === exists &func if defined @array === if @array $def = defined @array ===...
-
Posted Strings: Characters vs Data to Brad Gilbert
I’ve been thinking, why is it that Character strings, and Binary strings are mostly the same in Perl. If you read in a binary file, why would you want it to behave as if it were a Character file?
The main difference currently, is that Unicode Character strings have the
="p…
Comment Threads
-
James commented on
How do we know when a CORE module is deprecated?
So, presuming CGI.pm gets removed, does that mean Plack/PSGI gets added?
toby: CGI::PSGI->new($env) returns a CGI::PSGI object that isa CGI
-
rjbs.manxome.org commented on
How do we know when a CORE module is deprecated?
Nope.
-
Steven Haryanto commented on
How do we know when a CORE module is deprecated?
CGI.pm is an important piece of Perl history and must be preserved.
An attempt at sarcasm. Epic fail, apparently :)
-
Matt S Trout (mst) commented on
How do we know when a CORE module is deprecated?
Petdance, anybody else who happened to be in #perl for the whole conversation will have seen:
wasanzy asked for help
Shells suggested something that's a really bad idea
apeiron corrected this
Shells, apeiron and I discussed it until Shells understood why it was a bad idea
We and various other channel members helped wasanzy find a good solution to their problem
As such, I'm reasonably confident that people wanting help writing good perl will not have been put off by the conversation.
We would vigorously oppose anybody suggesting that the…
-
grt@opendevnet commented on
Bringing Perl5 to GitHub
Hmm, I agree with these comments. It's possible to duplicate efforts ... even with forking and pulling :-) Proliferating organizational repos can confuse people (or at least people like me) who are used to the well-herded namespaces of CPAN!
I think I am encouraged that Matt Trout thinks something like perlsourcemap is a good idea. Well, I am either encouraged or just less afraid :-)
About blogs.perl.org
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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.