dmtelf has asked for the wisdom of the Perl Monks concerning the following question:

I've got a problem trying to install Date::Calc 4.3 on AP 5.22 Win32.

These lines are from the install.txt file:

# Preliminary steps for use with ActiveState's port of Perl 5.005: # ---------------------------------------------------------------- # # (For the Win32 platform) # # Edit the file "Makefile.PL" and remove all of the "#" characters # which currently comment out the attributes "ABSTRACT", "AUTHOR" # and "CAPI".
so I had a look at Makefile.pl ...

# Look at the following line: # ($] >= 5.005 && $ eq 'MSWin32' && $Config{archname} =~ /-object\b +/i ?
There's a funny control character there, a small square(!)What should it be? Is this an error in the makefile or...?

# WriteMakefile( 'NAME' => 'Date::Calc', 'VERSION_FROM' => 'Calc.pm', 'OBJECT' => '$(O_FILES)', 'LIBS' => [''], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' 'INC' => '', # e.g., '-I/usr/include/other' # ($] >= 5.005 ? # ('ABSTRACT' => 'Gregorian calendar date calculations', # 'AUTHOR' => 'Steffen Beyer (sb@engelschall.com)') : ()) +, # ($] >= 5.005 && $ eq 'MSWin32' && $Config{archname} =~ /-object\b +/i ? # ('CAPI' => 'TRUE') : ()), 'dist' => { COMPRESS => "gzip -9", SUFFIX => "gz" } );

Replies are listed 'Best First'.
RE: Illegal char in Date::Calc makefile.pl file?
by t0mas (Priest) on Aug 10, 2000 at 14:24 UTC
    Looks like someone pressed Ctrl-0 (0x0F) when they wanted to say ^0...
    Try changing it.

    /brother t0mas
      Prolly a vi user :-). In insert mode on some terminals, control characters are inserted into the file as their actual values but displayed in caret notation. Always hit ESC first.