Help for this page

Select Code to Download


  1. or download this
    $var  = `ls`;
    print "\n---\n $var \n---\n ";
    The $var will have the output of 'ls' command.
    
  2. or download this
    $var = system('ls');
    print "\n---\n $var \n---\n ";
    
  3. or download this
    $var = exec('ls');
    print "\n---\n $var \n---\n ";