Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How's your Perl?

by Anonymous Monk
on Oct 27, 2003 at 07:01 UTC ( [id://302343]=note: print w/replies, xml ) Need Help??


in reply to How's your Perl?

# 1 { package MyTie; require Tie::Array; @ISA = qw/Tie::StdArray/; sub STORE {@{$_[0]}[$_[1],$_[1]+1] = ($_[2]) x 2} } tie my @x, 'MyTie'; # 6 $x = \42; $y = "$x";

Replies are listed 'Best First'.
Re: Re: How's your Perl?
by Juerd (Abbot) on Oct 27, 2003 at 07:38 UTC

    tie my @x, 'MyTie';

    For all exercises: no fork/exec/system/qx/open, no commandline options, no user input, no modules, no tie, no bless, no %SIG.

    I guess the first and most important exercise is reading.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2025-07-09 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.