Questions tagged [perl5.18]

Questions pertaining to features introduced in Perl v5.18.

Perl v5.18 introduced several new features, including lexical subroutines. Questions with this tag specifically refer to those features and other changes related to that version of Perl.

5 questions
9
votes
1 answer

Does Perl v5.18's sort understand lexical subroutines?

This is fixed in Perl v5.22. Does Perl v5.18's lexical subroutines with sort? I finally had a use for them today where I had a complicated sorting routine that depends on the current position in the data structure to look at deeper parts. Here's a…
brian d foy
  • 121,466
  • 31
  • 192
  • 551
4
votes
2 answers

Installed module not found when running program

Context Here is a perl test script, in which I wanted to see how you can use a specific event loop with AnyEvent : # file test.pl : #!/usr/bin/perl use strict; use warnings; use AnyEvent; use AnyEvent::Impl::EV; my $cv = AnyEvent->condvar; my…
LeGEC
  • 29,595
  • 2
  • 37
  • 78
2
votes
1 answer

Can`t install perl module Crypt::TEA

When I try to install Crypt::TEA module to perl 5.18 on Windows 7, displayed error: TEA.xs: In function 'XS_Crypt__TEA_crypt': TEA.xs:58:9: error: invalid use of void expression
Artem
  • 493
  • 5
  • 19
1
vote
0 answers

Can`t get MachineGuid with Win32::TieRegistry

I need to get unique hardware identifier, so I read MachineGuid from windows registry. I have virtualbox machine with strawberry perl on Windows 7, and pc with Windows 7 too but without perl interpreter. This code works in virtualbox, but when I…
Artem
  • 493
  • 5
  • 19
1
vote
1 answer

How do I change the default ONE_AT_A_TIME_HARD hash function in Perl 5.18?

I'm not really familiar with Perl, but I've been searching in the documentation and other sources without success for the last 2 days. In the documentation, it is written: Perl v5.18 includes support for multiple hash functions, and changed the…
afe
  • 43
  • 4