in reply to Perl code generation with PerlBean (continued)

And yet anothe comment on the documentation: ;)
# Remove the old directory system ("rm -rf $dir");
where possible, use perl's built-in functions, in this case unlink. This has 2 advantages:
1. Works on windows and other OS's too
2. No need to start a new shell/process thingy (althoug this does not always happen with system())

Replies are listed 'Best First'.
Re: Perl code generation with PerlBean (continued)
by zoccav (Sexton) on Nov 04, 2003 at 13:21 UTC