Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How's your Perl? (II)

by diotalevi (Canon)
on Jul 22, 2004 at 17:25 UTC ( #376667=note: print w/ replies, xml ) Need Help??


in reply to How's your Perl? (II)

  1. $foo = *_;
  2. *foo = \ substr "", 0, 1;
  3. BEGIN { $^H = 0x30000; $^H{"qr"} = sub{""}; }
  4. sub { *foo = \@_ }->( $foo, $foo )
  5. *foo = \ "constant"
  6. I didn't know this one until I saw ccp's answer and I don't know of a second way.
  7. *foo = *`; $* = 1; "true\n0"=~/\z/;
  8. *| = \$foo;
  9. 2 =~ /(2)/; *| = *^N;
  10. xmath gave this one to me because it contradicted the documentation and it isn't supposed to be possible. There is a loophole but it requires reading an obscure bit from Changes5.8.


Comment on Re: How's your Perl? (II)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-08-01 04:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls