I want to write ERROR message to a file, and write DEBUG message to stderr, then I write the following code:
#!/usr/bin/perl use strict; use warnings; use Lo