perl bug with references
- From: "dt" <ppc@xxxxxxxxxxxxxx>
- Date: 27 Feb 2007 18:13:57 -0800
I found an odd behavior.
when I have a reference, let's say it is an array, it seems to pad the
value differently in perl 5.6 vs 5.8:
this worked in perl 5.8 but not perl 5.6:
$ref =~ /^ARRAY/;
for 5.6, I had to change to =~ /^\s*ARRAY/;
could not find anything mentioning this behavior anywhere. I doubt it
is a "feature"
.
- Follow-Ups:
- Re: perl bug with references
- From: Thomas J.
- Re: perl bug with references
- From: Ben Morrow
- Re: perl bug with references
- From: A. Sinan Unur
- Re: perl bug with references
- Prev by Date: FAQ 7.22 How do I create a switch or case statement?
- Next by Date: Re: new method to test Perl code
- Previous by thread: FAQ 7.22 How do I create a switch or case statement?
- Next by thread: Re: perl bug with references
- Index(es):
Relevant Pages
|