Shell command: cat file : Shell « System Functions « Perl





Shell command: cat file

     


use Shell;

$text = cat("file.txt");

print $text;

   
    
    
    
    
  










Related examples in the same category

1.Shell command: dir
2.Shell command: uptime
3.Call external command
4.Encrypt files