Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: I got two questions, please see here:)

by Khen1950fx (Canon)
on Feb 18, 2011 at 06:05 UTC ( [id://888854]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
    use IPC::System::Simple qw(capture);
    
    my @output = capture("ls", "/root/Desktop");
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    my @output = capture("ls", "/root/Desktop");
    print @output, "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (None)
    As of 2024-04-25 00:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found