I created a scriptThis is perl, v5.8.5 built for i386-linux-thread-multi This is perl, v5.6.1 built for i386-linux
I expected this to print#! /usr/bin/perl -p __DATA__ hello goodbye
Instead it hangs waiting for standard input. Why?hello goodbye
In reply to -p option with __DATA__ by jdalbec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |