#!/usr/bin/perl -wT use strict; use warnings; my $s1 = ; print("\$s1= <$s1> \n"); if () { my $s2 = ; print("\$s2= <$s1> \n"); }; #### perl> echo -ne "hello\x0aWorld" | ./pipe_x-1.pl # try \n $s1= $s2= perl> echo -ne "hello\x0dWorld" | ./pipe_x-1.pl # try \r World> ello perl> echo -ne "hello\x09World" | ./pipe_x-1.pl # try \t $s1=