Tuesday 15 October 2019

How to run Linux Command Using Perl?

Method 1:

@a=print readpipe( "ls -l *" );

print @a;


Method 2:

@a=print system( "ls -l *" ); print @a;


Read more »

Labels: