Bash ~ Perl ~ Python ~ Batch ~ Ruby
Wednesday, 15 May 2013
pipe symbol usage in perl
open(FILE,"|ls");
while(<FILE>)
{
print $_."\n";
}
close(FILE);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment