Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

bbfu's scratchpad

by bbfu (Curate)
on Jun 03, 2004 at 02:25 UTC ( #359886=scratchpad: print w/replies, xml ) Need Help??

Here's a simple bash script to grep all the perl* perldoc pages. If you're on Windows, as I am at the moment, I recommend Cygwin, as it makes life so much nicer. :)

#!/bin/bash PAGER=/bin/cat for i in `perl -e 'print join " ", map { /^\s+(perl\w+)/ ? $1 : () } \ +`perldoc perl\`'`; do echo "$i:" perldoc "$i" | grep $* done

bbfu
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: haukex: Yes, but if it's only supposed to run on my machine, I can be far more liberal with how I extract the code etc.
[Corion]: haukex: Yes - I see the benefit of using Dist::Zilla for people with 150+ modules on CPAN, but I don't see it for myself, and I'm always put off from contributing to such modules because they require a lot of toolchain setup that I don't want to ...
[Corion]: ... spend time on if I only want to provide a short patch
[haukex]: Corion: Yes exactly, in the author tests I don't worry about portability as much, I also don't list the author tests' dependencies in Makefile.PL
[haukex]: I figure someone who wants to contribute will know how to install the missing modules ;-) Not the nicest way to go but I don't think many people are using my modules yet
[ambrus]: Corion: some of these stupid syntax highlighters assume that too. just look at the table in http://perldoc. perl.org/ functions/pack. html for example.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-02-27 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.