Le 18/08/2011 00:33, Jonathan Swartz a écrit :
Thanks Stephen. To be clear is there something Mason should be doing about this, or is it on Jean-Michel's end?

On Aug 17, 2011, at 3:12 PM, Stephen Clouse wrote:

On Wed, Aug 17, 2011 at 4:50 PM, Jonathan Swartz <swa...@pobox.com <mailto:swa...@pobox.com>> wrote:

    What does foo.pl <http://foo.pl/> contain? Please make it as
    minimal as possible. Also do the Mason unit tests pass/fail?


Without even looking at code I'm going to guess this is a path separator issue.

    open my $fh, "C:*\D*ocuments and
    Settings*\A*dministrator*\D*esktop\foo.txt";


    Unrecognized escape \D passed through at - line 1.
    Unrecognized escape \A passed through at - line 1.
    Unrecognized escape \D passed through at - line 1.


The issue doesn't appear on Linux because you're unlikely to be using pathnames with embedded backslashes there.

--
Stephen Clouse <stephenclo...@gmail.com <mailto:stephenclo...@gmail.com>>



------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2


_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
Hello,

c:\mason2>dir
 Le volume dans le lecteur C s'appelle System
 Le numéro de série du volume est D606-7616

 Répertoire de c:\mason2

18/08/2011  08:09 <REP>          .
18/08/2011  08:09 <REP>          ..
17/08/2011  11:15                60 foo.mc
17/08/2011  11:14                 0 foo.mc~
18/08/2011  08:04               113 foo.pl
18/08/2011  08:03               112 foo.pl~
               4 fichier(s)              285 octets
               2 Rép(s)  70 091 096 064 octets libres

c:\mason2>type foo.pl
#! perl
use Mason;
my $mason = Mason->new( comp_root => '.' );
#my $mason = Mason->new( comp_root => 'c:/mason2' );
#my $mason = Mason->new( comp_root => 'c:\\mason2' );
print $mason->run( '/foo' )->output;

c:\mason2>type foo.mc

% my $name = "Mason";
Hello world! Welcome to <% $name %>


For mason tests : I don't known. Mason has been installed by another person

Jean-Michel
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to