[Catalyst-commits] r8722 - trunk/examples/CatalystAdvent/root/2008

janus at dev.catalyst.perl.org janus at dev.catalyst.perl.org
Fri Dec 5 00:00:28 GMT 2008


Author: janus
Date: 2008-12-05 00:00:27 +0000 (Fri, 05 Dec 2008)
New Revision: 8722

Modified:
   trunk/examples/CatalystAdvent/root/2008/4.pod
Log:
there's an easier way to find packages

Modified: trunk/examples/CatalystAdvent/root/2008/4.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2008/4.pod	2008-12-04 22:48:12 UTC (rev 8721)
+++ trunk/examples/CatalystAdvent/root/2008/4.pod	2008-12-05 00:00:27 UTC (rev 8722)
@@ -50,26 +50,9 @@
 
 =head1 Installation
 
-Now fetch the B<index.txt> file so you can use B<grep> to easily find packages:
+Now use B<pkg_info> to easily find all the packages having B<Catalyst> in their name:
 
-  $ ftp $PKG_PATH/index.txt
-  Trying 2001:638:a00:f008::1...
-  ftp: connect to address 2001:638:a00:f008::1: No route to host
-  Trying 131.188.40.91...
-  Connected to openbsd.informatik.uni-erlangen.de.
-  ...
-  Retrieving pub/OpenBSD/4.4/packages/amd64/index.txt
-  local: index.txt remote: index.txt
-  150 Opening BINARY mode data connection for 'index.txt' (112067 bytes).
-  100% |**************************************************|   109 KB    00:00    
-  226 Transfer complete.
-  112067 bytes received in 0.61 seconds (178.44 KB/s)
-  $
-
-Because we want to know all the packages having B<Catalyst> in their name we run
-B<grep> like this:
-
-  $ grep Catalyst index.txt
+  $ pkg_info -Q Catalyst
   p5-Catalyst-Action-RenderView-0.08.tgz
   p5-Catalyst-Authentication-Store-DBIx-Class-0.104.tgz
   p5-Catalyst-Controller-FormBuilder-0.04.tgz




More information about the Catalyst-commits mailing list