Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is meant by the PERL system function?

Status
Not open for further replies.
Re: System function in PERL..

#!/usr/bin/perl -w

system("ls -F /var > /tmp/t.tmp");

It will produce following result:

A file in /tmp direcory, check it out.
 

explain what? 2 lines of code?
 

You can just use backslash to escape the <"> (double quotes) characters
system("emerge -up world | mail -s \"RESULTS\" $MAIL_ADDRESS");
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top