Hi All,

What is the difference between
foreach ( system ls) {

 if (/1.pl/) {
  print ;}}
Here the output is all the file of the CWD.



and
foreach ( ` ls`) {

 if (/1.pl/) {
  print ;}}

Here is output is only 1.pl

Please explain this to me Thanks & Regards Swayam

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to