Re: Undefine mixed data

2023-03-17 Thread rir
Marton: apologies for badly characterizing your post. I particularly wanted specify the breakage you mentioned for any beginners passing by; got delayed and forgot about some of your post. I just mentioned the basic dual nature of Nil. There is a lot of complexity around 'Nil' and around

Re: Undefine mixed data

2023-03-17 Thread rir
Marton, I am not sure of your meaning. I took the warning message as: For Scalars assign a Nil, for Arrays/Hashes/Etc. use Empty or (). Because you might be read as suggesting "@ary = Nil should undefine @ary"; I will point out that will conflict with: @a = Nil; which is defined to