SCIENTIFIC-LINUX-USERS Archives

April 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eva Myers <[log in to unmask]>
Reply To:
Eva Myers <[log in to unmask]>
Date:
Wed, 16 Apr 2008 14:59:37 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
Hello,
I am trying to use the Perl script w3mir (from
http://www.langfeldt.net/w3mir/) but although it works fine on an SL44
system, it has problems on the SL50 64-bit system where I want to use
it.  When I investigated this I discovered a difference in Perl's
behaviour on SL44 and SL50.  The following test script:

#!/usr/bin/perl
use URI::URL;
$name = (url "file:index.html")->unix_path;
print "$name\n";

gives the output "index.html" on SL44, which is the behaviour w3mir is
expecting, but on SL50 it gives "/index.html" instead.

What is going on here, and is there any way I can get Perl in SL50 to
behave as it used to in SL44?
Eva.

ATOM RSS1 RSS2