commit | 748aa689bac2c1dd5d902815b0dec6364d20bf34 | [log] [tgz] |
---|---|---|
author | Thomas Rast <trast@student.ethz.ch> | Fri Feb 06 20:30:01 2009 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Feb 07 00:37:36 2009 -0800 |
tree | e75bb75d10c5da84beca3a0ede816272c72471bc | |
parent | a301973641f426ab42e5bf9faa6e4da5bd658148 [diff] |
add -p: import Term::ReadKey with 'require' eval{use...} is no good because the 'use' is evaluated at compile time, so manually 'require' it. We need to forward declare the functions we use, otherwise Perl raises a compilation error. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>