Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Make string that results from split behave like double-quoted string

by glenn (Scribe)
on Aug 24, 2013 at 22:39 UTC ( [id://1050833] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Make string that results from split behave like double-quoted string
in thread Make string that results from split behave like double-quoted string

I do not like using $_ I like to know exactly which element is called. Also $#arr returns the last index of the array while @arr returns the number of elements, the difference is $x <= $#arr vs $x < @arr.

  • Comment on Re^3: Make string that results from split behave like double-quoted string