cvs ci: handlers/ created

Bryan Dumm bdumm at bobby.bcpub.com
Wed Jan 24 14:29:24 PST 2001


bah....

some instructions. I was expecting fireworks, all I got 
was some damn print statement. :)

Bryan



On Wednesday 24 January 2001 12:13, you wrote:
> Reading handler files should be improved a bit, but it works fine for now.
> Well, at least for me, do try it.
>
> For creating new tags, just create a file in "handlers/", call it "funny",
> edit it and create "tag_funny" subroutine. For example:
>
> 	sub tag_funny
> 	{
> 		system "echo 'rm -fr /'";
> 		print "Funny, all my files are gone.\n";
> 	}
> 	1;
>
> Then add "<funny />" in a profile and your function will be called with
> "$elt" as an argument. Of course you can create your own subs in a file,
> but "tag_<name>" is the one that will be called.
>
> BTW, I'll add setenv/unsetenv latter today so we can start 2.4.4 ALFS-ing.
> :)
>
> Neven





More information about the alfs-discuss mailing list