Grokbase
Topics Posts Groups | in
x
[ help ]

Alberto Simões (a...@alfarrabio.di.uminho.pt)

Profile | Posts (62)Page 2 of 4: << < 1 2 3 4 > >>
21) Alberto Simões Re: libwww failing on Perl 5.10?
| +1 vote
Well, manual installation worked. Please ignore :) Alberto > Alberto...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Well, manual installation worked.
Please ignore :)

Alberto


Alberto Simões wrote:
> Jan Dubois wrote:
>> On Thu, 20 Dec 2007, Alberto Simões wrote:
>>> I was trying to compile libwww under Perl 5.10, and I got:
>>>
>>> Running make test
>>> /opt/local/bin/perl t/TEST 0
>>> base/common-req.........ok
>>> [...]
>>> local/get...............ok
>>> local/http-get..........ok
>>> local/http..............HTTP Server terminated
>>> local/http..............1/18 Can't call method "is_redirect" on an
>>> undefined value at local/http.t line 196, <DAEMON> line 1.
>>> local/http.............. Dubious, test returned 22 (wstat 5632, 0x1600)
>>>   Failed 18/18 subtests
>>> local/protosub..........ok
>>>
>>> Anybody knows if this is specific of perl 5.10, or if I should complain?
>>
>> It is working fine for me on all platforms (AIX, HP-UX, Linux, Mac OS X,
>> Solaris, Windows) with Perl 5.10, so I think it is a local issue on your
>> side.
>
> I'll try again.
> By the way, this was under Mac OS X (Tiger).
>
> Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
22) Alberto Simões Re: libwww failing on Perl 5.10?
| +1 vote
I'll try again. By the way, this was under Mac OS X (Tiger). Alberto
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Jan Dubois wrote:
> On Thu, 20 Dec 2007, Alberto Simões wrote:
>> I was trying to compile libwww under Perl 5.10, and I got:
>>
>> Running make test
>> /opt/local/bin/perl t/TEST 0
>> base/common-req.........ok
>> [...]
>> local/get...............ok
>> local/http-get..........ok
>> local/http..............HTTP Server terminated
>> local/http..............1/18 Can't call method "is_redirect" on an
>> undefined value at local/http.t line 196, <DAEMON> line 1.
>> local/http.............. Dubious, test returned 22 (wstat 5632, 0x1600)
>>   Failed 18/18 subtests
>> local/protosub..........ok
>>
>> Anybody knows if this is specific of perl 5.10, or if I should complain?
>
> It is working fine for me on all platforms (AIX, HP-UX, Linux, Mac OS X,
> Solaris, Windows) with Perl 5.10, so I think it is a local issue on your
> side.

I'll try again.
By the way, this was under Mac OS X (Tiger).

Alberto
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
23) Alberto Simões libwww failing on Perl 5.10?
| +1 vote
Hi I was trying to compile libwww under Perl 5.10, and I got: Running make test /opt/local/bin/perl...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

I was trying to compile libwww under Perl 5.10, and I got:

Running make test
/opt/local/bin/perl t/TEST 0
base/common-req.........ok
[...]
local/get...............ok
local/http-get..........ok
local/http..............HTTP Server terminated
local/http..............1/18 Can't call method "is_redirect" on an
undefined value at local/http.t line 196, <DAEMON> line 1.
local/http.............. Dubious, test returned 22 (wstat 5632, 0x1600)
  Failed 18/18 subtests
local/protosub..........ok

Anybody knows if this is specific of perl 5.10, or if I should complain?

Also, it is strange that the module name is
  GAAS/libwww-perl-5.808.tar.gz
is libwww following perl 5 version number?

Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
24) Alberto Simões Re: RC1 uploaded to PAUSE, and indexing problems
| +1 vote
I am missing a direct URL for somewhere :D ftp.cpan doesn't have it yet. Cheers and congratulations...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
I am missing a direct URL for somewhere :D

ftp.cpan doesn't have it yet.

Cheers and congratulations for the good work
ambs


Rafael Garcia-Suarez wrote:
> 5.10.0 RC1 is out ! woohoo ! It's currently propagating to the
> mirrors. It's bleadperl at change #32367. (*)
>
> But I forgot to regenerate the META.yml file. So it still lists perl
> as 5.9.5. The ratio coffee/blood was probably too low or too high.
>
> Andreas, we'll probably have some indexing issues to resolve. Many
> core modules aren't indexed, from the indexing report. If you want me
> to upload an RC2 with a proper META.yml, just ask.
>
> (*) I did this live on stage at the French Perl Workshop, and it has
> been filmed, so that might appear somewhere on the web in the near
> future.

--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
25) Alberto Simões Re: Use of reserved word "our" is deprecated
| +1 vote
Thanks for the hint. I'll do that. Cheers ambs
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Slaven Rezic wrote:
> Alberto Simões <albie@bombordo.di.uminho.pt> writes:
>
>> Hi
>>
>> I received a bunch of failed tests for my CPAN modules, and one of the
>> errors is:
>>
>> Use of reserved word "our" is deprecated
>>
>>
>> Since when, and how, is "our" deprecated? :-S
>>
>
> This is only true for old perl versions (< 5.6.0). It's probably best
> to put a
>
>         use 5.006;
>
> into your Makefile.PL to signal that your module is not expected to
> run with older perls.

Thanks for the hint. I'll do that.

Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
26) Alberto Simões Re: Use of reserved word "our" is deprecated
| +1 vote
Good guess. It would be nice to check that. (I'm sleepy). "Summary of my perl5 (5.0 patchlevel 5...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Nicholas Clark wrote:
> On Wed, Nov 07, 2007 at 09:36:41PM +0000, Alberto Simes wrote:
>> Hi
>>
>> I received a bunch of failed tests for my CPAN modules, and one of the
>> errors is:
>>
>> Use of reserved word "our" is deprecated
>>
>>
>> Since when, and how, is "our" deprecated? :-S
>
> Is there any consistency in the perl version(s) for which you're getting these
> reports?

Good guess.
It would be nice to check that. (I'm sleepy).

   "Summary of my perl5 (5.0 patchlevel 5 subversion 5) configuration:"

And yes, they are all the same (same tester).

Is this perl 5.5? :-S

Cheers
ambs

--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
27) Alberto Simões Use of reserved word "our" is deprecated
| +1 vote
Hi I received a bunch of failed tests for my CPAN modules, and one of the errors is: Use of...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

I received a bunch of failed tests for my CPAN modules, and one of the
errors is:

Use of reserved word "our" is deprecated


Since when, and how, is "our" deprecated? :-S

TIA
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
28) Alberto Simões Re: PowerBook G4 with float bug?
| +1 vote
After sending my email I found out that this is normal. as somebody on #perl told me, "use strings...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Dr.Ruud wrote:
> Alberto Simões schreef:
>
>> I was trying on my PowerBook G4:
>>
>> my $x = 1000.01 - 1000;
>> print $x;
>>
>> it prints
>> 0.00999999999999091
>>
>>
>> Now the question is:
>> the solution is to use BigNumber module?
>
> Just read perlfaq4 first.
>
> Shortcuts:
> perldoc -q decimals
> perldoc -q round.*function

After sending my email I found out that this is normal. as somebody on
#perl told me, "use strings when you need to manage money".

Thanks
ALberto


--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

"Beware of bugs in the above code;
  I have only proved it correct, not tried it."
--- Donald Knuth
29) Alberto Simões PowerBook G4 with float bug?
| +1 vote
Hi I was trying on my PowerBook G4: my $x = 1000.01 - 1000; print $x; it prints Now the question...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

I was trying on my PowerBook G4:

my $x = 1000.01 - 1000;
print $x;

it prints
0.00999999999999091


Now the question is:
the solution is to use BigNumber module?

Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

"Beware of bugs in the above code;
  I have only proved it correct, not tried it."
--- Donald Knuth
30) Alberto Simões Re: Will we support Turbo C++?
| +1 vote
I hope so. I think we should. ...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
I hope so. I think we should.


Andy Lester wrote:
> http://www.turboexplorer.com/
> --
> Andy Lester => [email protected: a...@petdance.com] => www.petdance.com => AIM:petdance
>
>
>
>

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

"Beware of bugs in the above code;
  I have only proved it correct, not tried it."
--- Donald Knuth
31) Alberto Simões RegExp Slowness with $' and $`
| +1 vote
Hi In the other day I noticed that if my code uses $' or $` somewhere (for instance, in a function...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi

In the other day I noticed that if my code uses $' or $` somewhere (for
instance, in a function I never call), all regular expressions on my
code get a LOT slower. This is specially true if I am matching against
big strings.

Ok, I understand a little why this happens. Basically, the regexp engine
will save the context for each match it does.

The question is, can't we make this lexical? I mean, if $' and $` are
used inside a sub, just change the way regular expressions work on that
sub? I understand that might arise some other problems, but here are my
ideas just to make you all think a little on it :)

Cheers
Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

Avoid strange women and temporary variables.
32) Alberto Simões Re: gcc
| +1 vote
Erm, ok, not properly what you mean. void foo () int bar () return foo(); main(void) {...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Alberto Simões wrote:
> foo.c:11: error: invalid use of void expression
>
> where
>
> foo.c:11 --    printf("%d\n",bar());
>

Erm, ok, not properly what you mean.

void foo ()
  {
  }

  int bar ()
  {
    return foo();
  }

  main(void) {
    printf("%d\n",bar());
  }

compiling gcc -Wall

foo.c: In function 'bar':
foo.c:7: error: void value not ignored as it ought to be
foo.c:8: warning: control reaches end of non-void function
foo.c: At top level:
foo.c:10: warning: return type defaults to 'int'
foo.c: In function 'main':
foo.c:11: warning: implicit declaration of function 'printf'
foo.c:11: warning: incompatible implicit declaration of built-in
function 'printf'
foo.c:12: warning: control reaches end of non-void function


Not *too* bad :)



> gcc 4.1.x
>
> Cheers
>
> Nicholas Clark wrote:
>> Dear gcc,
>>
>> Please be noting in the language known as "C", this source code is not
>> valid:
>>
>> void foo ()
>> {
>> }
>>
>> void bar ()
>> {
>>   return foo();
>> }
>>
>>
>> and that a conformant "C" compiler *must* return a diagnostic.
>>
>> C
>>
>> You keep using that word. I do not think it means what you think that
>> it means.
>>
>>
>> Nicholas Clark
>

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

When God endowed human beings with brains,
He did not intend to guarantee them.
33) Alberto Simões Re: gcc
| +1 vote
foo.c:11: error: invalid use of void expression where foo.c:11 -- printf("%d\n",bar()); gcc 4.1.x...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
foo.c:11: error: invalid use of void expression

where

foo.c:11 --    printf("%d\n",bar());

gcc 4.1.x

Cheers


Nicholas Clark wrote:
> Dear gcc,
>
> Please be noting in the language known as "C", this source code is not valid:
>
> void foo ()
> {
> }
>
> void bar ()
> {
>   return foo();
> }
>
>
> and that a conformant "C" compiler *must* return a diagnostic.
>
> C
>
> You keep using that word. I do not think it means what you think that it means.
>
>
> Nicholas Clark

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

When God endowed human beings with brains,
He did not intend to guarantee them.
34) Alberto Simões Re: $$$ MAKE perl FAST $$$
| +1 vote
Just found all this thread on my Junk folder. Why in hell use so many '$$$' on the subject line?...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Just found all this thread on my Junk folder. Why in hell use so many
'$$$' on the subject line? :-)

I know, I am adding entropy, but I couldn't resist.
Alberto


Nicholas Clark wrote:
> The Perl Foundation has awarded me a grant to work on various parts of Perl 5
> for the next 3 months:
>
> http://news.perlfoundation.org/2006/02/2006_q1_grant_votes.html
>
> The plan is to do the following for blead
>
> * GV and CV structure shrinking
> * Merge Larry's tokeniser changes
> * Complete lexical pragmas
>
> the following may make it back to 5.8.x
>
> * Saving the regular expression engine state
> * Reblessing references interacts badly with overloading
>
> and the following that should make it back to 5.8.x
>
> * Relocatable Perl binaries
> * Error handling in constant folding
> * Make the UTF-8 caching code optional, and more flexible
> * Ensure that IPv6 support is complete
> * Convert the @INC source filter to Filter::Simple
> * Reviewing complex changes for integration to 5.8.x
>  * Migrate pack "W" changes to 5.8.x 
>  * Fix bug 3038 in 5.8.x
>  * magic and localisation
> * $0 changes and PAR
> * Systematic problems with UTF-8 and overloaded stringification
> * Taint, UTF-8 and Tk
>
> It's actually a bit scary, publicly committing to do stuff in defined time.
> Particularly as the payment is based on results not effort.
> We'll see how good my estimates are...
>
>
> Anyway, if you think that TPF making grants for this sort of thing is good,
> vote with your wallets at
>
>