#!C:/Perl/bin/perl -w
use strict;
open (PS, "dir/b |") || die "$!\n";
while ( <PS> )
{
print "$_\n";
}
close (PS) or die $!;
use strict;
open (PS, "dir/b |") || die "$!\n";
while ( <PS> )
{
print "$_\n";
}
close (PS) or die $!;
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
No comments :
Post a Comment