Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between for & foreach, exec &
system?

Answer Posted / mvamsi

Hi Ramesh, You mean to say that we can't capture output of
the program by using exec function. But its working in my PC.
my $ls = exec('ls');

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are prefix dereferencer and list them out?

1034


What is 'rollback' command in perl?

953


How can memory be managed in Perl?

1053


What are some of the key features of objects in perl?

944


Why do we use "use strict" in perl?

976


How to compare two strings in perl?

942


What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?

989


Why to use perl?

952


What is “grep” function in perl?

995


How to close a file in perl?

939


What is the usage of -i and 0s options?

987


What is cpan in perl?

954


what are the two ways to get private values inside a subroutine or block?

939


Which guidelines by Perl modules must be followed?

1019


How do I replace every character in a file with a comma?

985