Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $output = qx'echo $SHELL' ;
    
    print $output ;
    
  2. or download this
          qx/STRING/
          ‘STRING‘
                  A string which is (possibly) interpolated and then exe-
                  cuted as a system command with "/bin/sh" or its equiva-
                  lent.[...]