Help for this page

Select Code to Download


  1. or download this
    while(<STDIN>){
       print "Current line is storaged in: ".$_;
       chop;
       print "Current line without new line character: ".$_."\n";
    }
    
  2. or download this
    while(<>){
     chop;
     print "I have $_ as input\n";
    }