Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: special magic in "%!" ?

by Hofmator (Curate)
on Mar 08, 2003 at 15:46 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-06-24 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.