develooper Front page | perl.perl5.porters | Postings from February 2007

[perl #41635] bug with references

Thread Next
From:
dave @ cheapbooks . com
Date:
February 28, 2007 01:19
Subject:
[perl #41635] bug with references
Message ID:
rt-3.6.HEAD-2051-1172628821-178.41635-75-0@perl.org
# New Ticket Created by  dave@cheapbooks.com 
# Please include the string:  [perl #41635]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41635 >


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/;




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