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

Which has highest precedence in between list and terms? Explain?

861


What happens in dereferencing?

1030


How interpreter is used in perl?

937


How to convert strings into an array in perl?

965


How are parameters passed to subroutines in perl?

938


How to implement a stack in Perl?

1011


What are the reasons that cookie server can’t handle multiple connections?

946


What does -> symbol indicates in Perl?

969


What syntax is used for grep() function?

1165


How will you open a file in a write-only mode in perl?

948


Explain perl one-liner?

953


What is the tk module?

949


Explain perl. When do you use perl for programming?

871


what is Chop & Chomp function does?

984


Explain use of ‘my’ keyword in perl?

929