YAPC::NA 2004 | The Perl Debugger | #7 |
Blecccch... ordinarily legal perl that is dangerous: # symbolic russian roulette $input = <>; ($key, $value) = split /:/, $input; $$key = $value; # Yikes! Instead, use a hash! --> $i{$key} = $value; # bareword-as-string $string = sorting; # Yikes! ...Unless you are writing poetry. |
<< Previous | Index | Next >> | Copyright © 2004 Daniel Allen |