http://www.perlmonks.org?node_id=241398


in reply to special magic in "%!" ?

The question is: What are you expecting it to print? If you are expecting a 'used only once' warning, these don't show up for all the special variables composed of only a special char, like %! or %^ or @# ...

-- Hofmator

Replies are listed 'Best First'.
Re: Re: special magic in "%!" ?
by Anarion (Hermit) on Mar 08, 2003 at 21:20 UTC
    I was expenting to print the same than:
    print %!

    $anarion=\$anarion;

    s==q^QBY_^=,$_^=$[x7,print
      Aha, which it doesn't do here. As was figured out in the meantime here in this thread this behaviour changed between perl 5.6 and 5.8. And as you can guess by now, I'm on 5.6 :) - therefore my question. I get the same results as bbfu below.

      -- Hofmator