Guest User

Untitled

a guest
Jul 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #
  3. ## disable buffered I/O which would lead
  4. ## to deadloops for the Apache server
  5. $| = 1;
  6. #
  7. ## read URLs one per line from stdin
  8. while (<>) {
  9. my $line = $_;
  10. if ($line eq "input_from_apache\n"){
  11. print "my_desired_output\n";
  12. }
  13. else{
  14. print "\n";
  15. }
  16. }
Add Comment
Please, Sign In to add comment