Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How's your Perl?

by ambrus (Abbot)
on Nov 02, 2003 at 16:47 UTC ( [id://303927]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # lvalue subroutines are EXPERIMENTAL
    (a); $foo="a";sub a:lvalue{$a[1]};@a=(19,85);
    ...
    # Pseudo-hashes are DEPRECATED
    (b); $foo=[{1,1},"kacsa"];$\=$/; print (\$foo->[1]); print (\$foo->{1}
    +);
    print (\$foo->[1] == \$foo->{1});
    
  2. or download this
    dump;;
    # But that may change in future versions. I don't know any solution 
    # not using the function dump; kill 5,0 is too long.
    
  3. or download this
    # Why does changing $foo fail silently?  I don't quite understand.
    # It works in perl5.{00503,6.1,8.0,8.1}
    *foo=*[;print(($foo^=0)++ eq $foo++,$/);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-18 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found