Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: special magic in "%!" ?

by Hofmator (Curate)
on Mar 08, 2003 at 15:46 UTC ( #241398=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241398]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2023-09-24 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?