Next | Program Repair Shop | 32 |
In most languages, each operator and builtin has one effect
You have to memorize the effect of + and printf
In Perl, each operator and builtin has two effects
You have to memorize both of them
For example:
$n = @a;
@v = @a;
Or:
$date_string = localtime();
@date_components = localtime();
Or:
$one_line = <FILEHANDLE>;
@all_the_lines = <FILEHANDLE>;
Next | ![]() |
Copyright © 2006 M. J. Dominus |