DavidSzczesniak
1/2/2018 - 10:12 AM

The Backquote

This can be used to run an external command. Not to be confused with the single quote ' '.

# Example 
#!/usr/bin/perl
@lines = `perldoc -u -f atan2`; # an external command whose output we wish to process
# With single-quotes: 'perldoc -u -f atan2'
foreach (@lines) {
  ...
}