in reply to Undocumented join() feature, now defunct?
Is the behaviour of join with a tied scalar prior to 5.18.2 correct but not clearly explained in the documentation or is it a bug that has now been fixed?
Looks like it was a bug that finally got fixed ... probably as they were fixing an adjacent bug ... an optimization :)
Yup, a bug fixed by accident :) Fold join to const or stringify where possible
you'll see a TIESCALAR test but not as the first argument like you have :) http://perl5.git.perl.org/perl.git/blob/HEAD:/t/op/join.t
http://perl5.git.perl.org/perl.git/history/HEAD:/t/op/join.t
So you should perlbug this johngg to make it official
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Undocumented join() feature, now defunct? (bug)
by ikegami (Patriarch) on Oct 30, 2014 at 14:32 UTC | |
|
Re^2: Undocumented join() feature, now defunct? (bug)
by johngg (Canon) on Oct 30, 2014 at 10:22 UTC |