(sorry joe, the earlier one to you was supposed to have been to the list
instead)
On Thu, 22 Dec 2005 10:10 , John Doe <[EMAIL PROTECTED]> sent:
>swayam panda am Donnerstag, 22. Dezember 2005 05.49:
[ . . ]
>> foreach ( system ls) {
>>
>> if (/1.pl/) {
>> print ;}}
>> Here the output is all the f
swayam panda am Donnerstag, 22. Dezember 2005 05.49:
> Hi All,
Hello Swayam
> What is the difference between
>
> foreach ( system ls) {
>
> if (/1.pl/) {
>print ;}}
> Here the output is all the file of the CWD.
Called this way, ls prints directly to STDOUT, and system returns the status
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,