good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: retrieve the value of a system call in a non blocking modeby flexvault (Monsignor) |
on Dec 05, 2013 at 21:10 UTC ( [id://1065848]=note: print w/replies, xml ) | Need Help?? |
Welcome young_monk_love_perl, On *nix try this at the command prompt:
What this one liner does is ask the system to list the files in the current directory and save in variable '$v'; opens a file(./file); and print the contents of variable '$v' to the file. You can use an editor to view the contents of the file. That's a rough beginning, but Perl has so much more to offer -- so enjoy! Regards...Ed "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|