Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

+ -

  Comment: TPF (Score 1) on 2010.06.27 13:40

by ambs on 2010.06.27 13:40 (#72127)
Attached to: The Post-YAPC Plan

Hello, Schwern

First, I think Coke is Will Coleda :) In any case, I would like to request you to send mails regarding your grant both to your grant manager and to me (I am not getting answers from Rozalin for some time).

Cheers ;)

Read More 3 comments
Comments: 3
+ -

  Journal: What is the status of $@? on 2010.02.11 11:57

Journal by ambs on 2010.02.11 11:57
Others

Accordingly with the perlvar manpage, $@ is used for error messages produced by eval.

I would like to use it as a more general variable for error messages. When a function returns a string, there isn't much that can be done to return a error string. Probably returning a list, setting an object, nothing clean and simple as real perl code :)

Read More 4 comments
Comments: 4
+ -

  Journal: What's up with use.perl main articles? on 2010.02.11 6:02

Journal by ambs on 2010.02.11 6:02
use Perl

What is happening with use.perl main articles? Lack of time to moderate them?

Read More 1 comments
Comments: 1
+ -

  Comment: Re:perldoc perllexwarn (Score 1) on 2010.01.20 9:48

by ambs on 2010.01.20 9:48 (#71544)
Attached to: Deep recursion on subroutine

Exactly that. Thanks!

Read More 2 comments
Comments: 2
+ -

  Journal: Deep recursion on subroutine on 2010.01.20 9:20

Journal by ambs on 2010.01.20 9:20
use Perl

Perl is complaining about a deep recursion on a subroutine. That is natural, as I have deep recursion :). But that recursion is being controled and therefore I know that will not be a problem.

Now the question is: can I silence Perl on these warnings?

Read More 2 comments
Comments: 2
+ -

  Journal: Encode and CGI::Session... again? on 2010.01.09 14:38

Journal by ambs on 2010.01.09 14:38
Bugs

In my last post I was complaining about 'use encoding'. As suggested, I changed. Now, I am using just 'Encode' module, 'encode' function. But that is not working correctly as well.

Read More 1 comments
Comments: 1
+ -

  Comment: Re: Using encoding and CGI Sessions/Cookies (Score 1) on 2010.01.08 14:32

by ambs on 2010.01.08 14:32 (#71502)
Attached to: Using encoding and CGI Sessions/Cookies

Encode seems to have problems by itself.

Can't locate object method "renewed" via package "Encode::utf8" at /usr/lib/perl5/site_perl/5.10.0/Encode.pm line 174. ,

And this happens from time to time... :-(

Read More 4 comments
Comments: 4
+ -

  Comment: Re: Using encoding and CGI Sessions/Cookies (Score 1) on 2010.01.04 7:23

by ambs on 2010.01.04 7:23 (#71475)
Attached to: Using encoding and CGI Sessions/Cookies

The truth is that I tried to not use the encoding pragma. I do not like it as well. I prefer to binmode file handles and normally that works.

But with CGIs I get some problems. First, I am not able to binmode Template Toolkit when it opens templates. Or at least I can't find documentation on that.

The other problem is how to control the encoding from the environment variables, from CGI param and other stuff like that. But for these I think my current solution uses Encode already.

I'll fight with this script later today.

Read More 4 comments
Comments: 4
+ -

  Journal: Using encoding and CGI Sessions/Cookies on 2010.01.03 12:10

Journal by ambs on 2010.01.03 12:10
Bugs

I am trying to use CGI::Session (and of course, CGI::Cookie) together with 'use encoding "utf-8"', but things seems not to work.

The error is 'Can't locate object method "renewed" via package "Encode::utf8" at /usr/share/perl5/site_perl/5.10.0/CGI.pm' that seems to be common to other modules. For example, a google search shown similar problems with Safe.

Read More 4 comments
Comments: 4
+ -

  Journal: Modules versioning on 2009.12.31 13:41

Journal by ambs on 2009.12.31 13:41
CPAN

For some time that Perl modules are numbered with a major version, a minor version, and sometimes, a alpha/beta numbering.

Lately some modules adopted the usage of a serialized date. One of the latest was Regexp::Common. Do not stress, Abigail, nothing against it.

Now, the question are: is it useful? Should it be used just for old and stable modules like Regexp::Common or should we use it from the beginning?

Read More 2 comments
Comments: 2
+ -

  Comment: Re:Future (Score 1) on 2009.08.24 10:48

by ambs on 2009.08.24 10:48 (#70244)
Attached to: We all hate version numbers.

I was really wondering.

A friend told me that current solution to Perl 6 taking so long, would be taking Perl 5.10.0 or Perl 5.12.0 and call it Perl 6.

The real new Perl 6 currently in development would get the sequential number of the previous in existence.

Read More 5 comments
Comments: 5
+ -

  Comment: Future (Score 1) on 2009.08.24 6:09

by ambs on 2009.08.24 6:09 (#70239)
Attached to: We all hate version numbers.

Hey, Nick.

I knew you are always dealing with the next Perl. But... version 10? :D

Read More 5 comments
Comments: 5
+ -

  Journal: TPF 2009Q3 Grant Proposals on 2009.08.10 6:51

Journal by ambs on 2009.08.10 6:51
The Perl Foundation
After three extenuating days at YAPC::EU::2009, and after some rest time, finally had the time to prepare the list of grant proposals for the third quarter of 2009.

We have seven proposals, that can be read in TPF blog:
Read More 0 comments

+ -

  Comment: Re:too narrow (Score 1) on 2009.07.17 15:22

by ambs on 2009.07.17 15:22 (#69522)
Attached to: Major update to perldoc.perl.org

I know this is bad, to have a lot of working changing the webpage design, and the first comment is, bring the old back.

Unfortunately I agree with daxim. This design is too heavy (in colors and distracting boxes) for documentation, and too narrow (when we all have panoramic screens.

I think the old design was cool.

Before finishing, just as an external example, look at http://www.gtk.org/ . The main page have lots of collors, and fixed width, but when you get to the documentation ( http://library.gnome.org/devel/glib/stable/glib-Miscellaneous-Utility-Functions. html ) you get a clean, light and wide, design.

And to finish, thank you for your dedication to http://perldoc.perl.org./ I think it is relevant and useful. But as well, I think constructive comments are helpful.

Cheers, Alberto

Read More 17 comments
Comments: 17
+ -

  Journal: Understanding Perl and Encodings on 2009.07.02 16:31

Journal by ambs on 2009.07.02 16:31
User Journal

I still did not get the grip on Encodings and Perl. I have an UTF8 file that I want to process. This process calls a module that I know uses a bidirectional pipe with an latin1 process. But that should be hidden...

Read More 1 comments
Comments: 1