#!/usr/bin/perl use strict; use warnings; printf("\n >> START PROCESS ...\n"); open (ARQ, "< ./arq.txt"); while ($line = ) { chomp($line); printf("[$line]\n"); } printf("\n ... END PROCESS <<\n"); #### while (<>) { chomp; # avoid \n on last field @array = split(/:/); # ... } #### chomp($cwd = `pwd`); chomp($answer = );