Questions tagged [strawberry-perl]

Strawberry Perl is an open source community driven distribution of the Perl programming language for the Microsoft Windows platform.

Strawberry Perl is a environment for MS Windows containing all you need to run and develop perl applications. It is designed to be as close as possible to perl environment on UNIX systems.

Resources:

250 questions
5
votes
1 answer

Using Perl, is there a difference between Win32API::File::MoveFile and CORE::rename on MSWin32?

I see that Win32API::File supports MoveFile(). However, I'm not sure how CORE::rename() is implemented in such a fashion that it should matter. Could someone juxtapose the difference -- specifically for the Win32 Environment --…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
5
votes
1 answer

Strawberry perl, Can't locate App/Cpan.pm

I installed the 32 bit version of Strawberry perl(5.14.2.1). I am able to run the perl command. When ever I run the cpan command I get the following error: Can't locate App/Cpan.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/msys…
Harish Shetty
  • 64,083
  • 21
  • 152
  • 198
4
votes
1 answer

Using Integrated Windows Authentication in a Perl Dancer App

I am currently building a web app with Perl Dancer. This app requires users to authenticate using my company's Active Directory. To avoid prompting users for their usernames and passwords, I would like to use Integrated Windows Authentication. …
4
votes
2 answers

"Out of memory" with simple Win32::Unicode::File readline loop and Strawberry Perl

The issue I have can be found by running the following code in Strawberry perl 5.12.3.0 on Windows XP. #!/usr/bin/perl -w use strict; use warnings; use Win32::Unicode::File; use Encode; my $fname = shift @ARGV; my $fh…
Dr. Mike
  • 2,451
  • 4
  • 24
  • 36
4
votes
3 answers

strawberry perl: no File::Tail.pm. CPAN failed to install the module

I'm using strawberry perl to tail a file using use File::Tail. I got the error message of the following: Can't locate File/Tail.pm in @INC (@INC contains: c:\strawberry\perl\lib C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib…
Paul
  • 954
  • 19
  • 34
4
votes
1 answer

Accessing IPv6 resolvable URL with port (e.g. localhost:12345) results in Bad Address in Strawberry Perl 5.30.1

When using strawberry perl 5.30.1 under Windows 10 with IPv6 enabled, URLs with Portnumbers cannot be resolved properly due to what appears to be a bug in the DNS parser of Perl. For the following test, we have a simple webserver listening on Port…
DJGummikuh
  • 108
  • 6
4
votes
1 answer

Installing Gtk2 on portable strawberry

I downloaded "strawberry-perl-5.12.2.0-portable" and "gtk+-bundle_2.22.1-20101227_win32". I extracted strawberry-perl in some directory and there I put gtk folder with gtk stuff. In portableshell.bat I changed Path env and added:…
XoR
  • 2,556
  • 4
  • 17
  • 15
4
votes
3 answers

Can a Perl script detect whether it's running under Activestate vs Strawberry Perl?

I have a Perl script I'm still trying to debug and in the process I've noticed that it behaves differently running under ActivePerl and Strawberry Perl. This has led me to wonder how a Perl script might detect under which of these flavours it is…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
4
votes
1 answer

How can I create a portable strawberry with extra bundled modules?

The portable strawberry perl is a godsend-- I can bundle it into an NSIS installer along with the actual scripts and have the user double click it. However, I'm still having to install CPAN modules that our scripts need, manually on each user's…
cespinoza
  • 1,437
  • 1
  • 12
  • 18
4
votes
1 answer

Strawberry Perl not recognising special variable for OSNAME

I recently upgraded Strawberry Perl from version 5.14.1.1-32bit to 5.24.0-64bit on my PC running Windows 7. I have a perl script I run under both Windows and Linux, and when I was using the old version the command use if $^O eq 'MSWin32' ,…
Leslie
  • 618
  • 4
  • 14
4
votes
1 answer

How can I use both ActiveState and Strawberry perl on windows

I have ActiveState installed already. Due to the ease in installing LibXML, I installed Strawberry. So at current, I have 2 perl programs, ActiveState and Strawberry. To use Strawberry, I need to remove ActiveState as it is the default of Perl. How…
user3922604
  • 131
  • 1
  • 10
4
votes
4 answers

Perl execution from command line question

I replaced ActivePerl with Strawberry Perl on my WinXP last week. I found I must run my Perl script with the command of perl myperl.pl; otherwise I only need run myperl.pl before install Strawberry. How can I only run myperl.pl as before? I checked…
Nano HE
  • 9,109
  • 31
  • 97
  • 137
4
votes
1 answer

How can I obtain tools to build Perl modules on Windows?

I need to install a few modules required my Perl program on Windows. It looks like I need a 64-bit nmake to build those modules. I found nmake15 online, but it does not work on my system. How can I build those Perl modules on Windows?
4
votes
1 answer

Why is the backticks operator in Perl not working without the quotes on Windows?

I'm pretty new to Perl, so forgive me if the question is trivial. At work I have got an assignment to create a script which would send out e-mails when other developers would miss the due date of their tasks. As whole thing would have to work on…
imkort
  • 81
  • 1
  • 8
4
votes
2 answers

Strawberry perl CPAN dmake will not build

I am having a problem installing CPAN modules using strawberry perl 5.16.2.2 64 bit and later versions. When installing from CPAN dmake fails to build the module with the following error: dmake.exe: Error executing 'C:\Windows\system32\cmd.exe; /c…
user2439183
  • 41
  • 1
  • 2
1 2
3
16 17