in reply to Re^8: AI in the workplace (... in the Monastery)
in thread AI in the workplace

In the example I've shown, the IV slot is set after the first numification.

In fact it doesn't look to me like repeated numification (or magic fetching) was happening.

:~$ perl -MDevel::Peek -E'"42"=~/(\d+)/; say $1; Dump $1; $a=$1+1; Dum +p $1; say $1; Dump $1' 2>&1 |grep IV IV = 0 IV = 42 IV = 42 :~$

Edit

hm ... probably the IV values don't matter if the appropriate I flags aren't set.

~$ perl -MDevel::Peek -E'"42"=~/(\d+)/; say $1; Dump $1; $a=$1+1; Dump + $1; say $1; Dump $1' 2>&1 |grep FLAGS FLAGS = (GMG,SMG,POK,pPOK) FLAGS = (GMG,SMG,IOK,POK,pIOK,pPOK) FLAGS = (GMG,SMG,POK,pPOK)

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^10: AI in the workplace (... in the Monastery)
by ikegami (Patriarch) on Jul 28, 2025 at 20:25 UTC

    Correct, you should be looking at the flags.