shadowm

Untitled

May 10th, 2013
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. shadowm@nanacore:~/src/projects/dyn-irc$ perl <<EOF
  2. heredoc> use strict;
  3. heredoc> print STDERR "foo";
  4. heredoc> EOF
  5. foo% shadowm@nanacore:~/src/projects/dyn-irc$ perl <<EOF
  6. use strict;
  7. print { 1 ? STDERR : STDOUT } "foo";
  8. EOF
  9. Bareword "STDERR" not allowed while "strict subs" in use at - line 2.
  10. Execution of - aborted due to compilation errors.
Advertisement
Add Comment
Please, Sign In to add comment