Mega Code Archive
Categories
/
Perl
/
String
Using backticks to capture program output
$dir = `cd`; print "Directory: $dir\n";