Let's not use backticks here - instead, just pass the string and Chef will do the right thing:

```ruby
not_if 'perl -v | grep "perl 5"'
```