develooper Front page | perl.perl5.porters | Postings from May 2004

[PATCH] 'perl -v' fails if local_patches contains code snippets

Thread Next
From:
Alan Burlison
Date:
May 26, 2004 08:24
Subject:
[PATCH] 'perl -v' fails if local_patches contains code snippets
Message ID:
40B4B693.9090905@sun.com
If the patch list in local_patches contains anything that looks like a 
perl variable, it gets interpreted *as* a variable by 'perl -V' which 
builds a little perl program to actually display the output.  The 
attached patch protects the local_patches content with q{} instead of 
q"" - it's not a complete fix as a unbalanced { or } in a local_patches 
string will still break it, but it's better than what is there.

-- 
Alan Burlison
--

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About