How to detect the version of a installed perl module during portbuild

Paul Schmehl pschmehl_lists at
Wed Jan 4 15:22:08 UTC 2012

--On January 4, 2012 8:59:12 AM +0000 Matthew Seaman 
<m.seaman at> wrote:

> On 03/01/2012 23:41, Paul Schmehl wrote:
>> This returns the installed package:
>> pkg_info -qa | grep "p5-JSON-RPC" | sort | uniq
> Woah!  Try it like this:
> pkg_info -Ex p5-JSON-RPC

I bow to the master.

Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

More information about the freebsd-ports mailing list