OK, so I know there's an easy-ish way to handle this situation.  But I'm
currently running in circles, not finding the solution.  Basically what I'm
trying to do is run a system command (with either `command` or
system("commnad") ) and retrieve the printed result form the command into a
variable of some sort.
So think of it this way:
my $info = `ls`;

or for Windows users:
my $info = `dir`;

If I run this from the command line it will print the results (because the
command was run), but the output is NOT put into $info.

I don't care what kind of variable (scalar, array, etc.) this information is
stored in, but all the ways I've been trying are NOT working.
I guess it's important to know that this will in the end be used in a web app.

Thanks for any help.
--Alex
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to