.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 .\" .\" Standard preamble: .\" ======================================================================== .de Sh \" Subsection heading .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. | will give a .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' .\" expand to `' in nroff, nothing in troff, for use with C<>. .tr \(*W-|\(bv\*(Tr .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .\" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .hy 0 .if n .na .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "Slash 3" .TH Slash 3 "2002-07-03" "perl v5.8.8" "User Contributed Perl Documentation" .SH "NAME" Slash \- the BEAST .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& use Slash; # figure the rest out ;-) .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Slash is the code that runs Slashdot. .SH "FUNCTIONS" .IX Header "FUNCTIONS" .Sh "printComments(\s-1SID\s0 [, \s-1PID\s0, \s-1CID\s0])" .IX Subsection "printComments(SID [, PID, CID])" Prints all that comment stuff. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1SID\s0" 4 .IX Item "SID" .PD The story \s-1ID\s0 to print comments for. .IP "\s-1PID\s0" 4 .IX Item "PID" The parent \s-1ID\s0 of the comments to print. .IP "\s-1CID\s0" 4 .IX Item "CID" The comment \s-1ID\s0 to print. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" None. .IP "Dependencies" 4 .IX Item "Dependencies" The 'printCommentsMain', 'printCommNoArchive', and 'printCommComments' template blocks. .Sh "moderatorCommentLog(\s-1SID\s0, \s-1CID\s0)" .IX Subsection "moderatorCommentLog(SID, CID)" Prints a table detailing the history of moderation of a particular comment. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1SID\s0" 4 .IX Item "SID" .PD Comment's story \s-1ID\s0. .IP "\s-1CID\s0" 4 .IX Item "CID" Comment's \s-1ID\s0. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" The \s-1HTML\s0. .IP "Dependencies" 4 .IX Item "Dependencies" The 'modCommentLog' template block. .Sh "displayThread(\s-1SID\s0, \s-1PID\s0, \s-1LVL\s0, \s-1COMMENTS\s0)" .IX Subsection "displayThread(SID, PID, LVL, COMMENTS)" Displays an entire thread. w00p! .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1SID\s0" 4 .IX Item "SID" .PD The story \s-1ID\s0. .IP "\s-1PID\s0" 4 .IX Item "PID" The parent \s-1ID\s0. .IP "\s-1LVL\s0" 4 .IX Item "LVL" What level of the thread we're at. .IP "\s-1COMMENTS\s0" 4 .IX Item "COMMENTS" Arrayref of all our comments. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" The thread. .IP "Dependencies" 4 .IX Item "Dependencies" The 'displayThread' template block. .Sh "dispComment(\s-1COMMENT\s0)" .IX Subsection "dispComment(COMMENT)" Displays a particular comment. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1COMMENT\s0" 4 .IX Item "COMMENT" .PD Hashref of comment data. If the 'no_moderation' key of the \s-1COMMENT\s0 hashref exists, the moderation elements of the comment will not be displayed. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" The comment to display. .IP "Dependencies" 4 .IX Item "Dependencies" The 'dispComment' template block. .Sh "dispStory(\s-1STORY\s0, \s-1AUTHOR\s0, \s-1TOPIC\s0, \s-1FULL\s0)" .IX Subsection "dispStory(STORY, AUTHOR, TOPIC, FULL)" Display a story. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1STORY\s0" 4 .IX Item "STORY" .PD Hashref of data about the story. .IP "\s-1AUTHOR\s0" 4 .IX Item "AUTHOR" Hashref of data about the story's author. .IP "\s-1TOPIC\s0" 4 .IX Item "TOPIC" Hashref of data about the story's topic. .IP "\s-1FULL\s0" 4 .IX Item "FULL" Boolean for show full story, or just the introtext portion. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" Story to display. .IP "Dependencies" 4 .IX Item "Dependencies" The 'dispStory' template block. .Sh "displayStory(\s-1SID\s0, \s-1FULL\s0)" .IX Subsection "displayStory(SID, FULL)" Display a story by \s-1SID\s0 (frontend to \f(CW\*(C`dispStory\*(C'\fR). .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1SID\s0" 4 .IX Item "SID" .PD Story \s-1ID\s0 to display. .IP "\s-1FULL\s0" 4 .IX Item "FULL" Boolean for show full story, or just the introtext portion. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" A list of story to display, hashref of story data, hashref of author data, and hashref of topic data. .Sh "getOlderStories(\s-1STORIES\s0, \s-1SECTION\s0)" .IX Subsection "getOlderStories(STORIES, SECTION)" Get older stories for older stories box. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1STORIES\s0" 4 .IX Item "STORIES" .PD Array ref of the \*(L"essentials\*(R" of the stories to display, gotten from getStoriesEssentials. .IP "\s-1SECTION\s0" 4 .IX Item "SECTION" Hashref of section data. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" The older stories. .IP "Dependencies" 4 .IX Item "Dependencies" The 'getOlderStories' template block. .Sh "getData(\s-1VALUE\s0 [, \s-1PARAMETERS\s0, \s-1PAGE\s0])" .IX Subsection "getData(VALUE [, PARAMETERS, PAGE])" Returns snippets of data associated with a given page. .IP "Parameters" 4 .IX Item "Parameters" .RS 4 .PD 0 .IP "\s-1VALUE\s0" 4 .IX Item "VALUE" .PD The name of the data-snippet to process and retrieve. .IP "\s-1PARAMETERS\s0" 4 .IX Item "PARAMETERS" Data stored in a hashref which is to be passed to the retrieved snippet. .IP "\s-1PAGE\s0" 4 .IX Item "PAGE" The name of the page to which \s-1VALUE\s0 is associated. .RE .RS 4 .RE .IP "Return value" 4 .IX Item "Return value" Returns data snippet with all necessary data interpolated. .IP "Dependencies" 4 .IX Item "Dependencies" Gets little snippets of data, determined by the value parameter, from a data template. A data template is a colletion of data snippets in one template, which are grouped together for efficiency. Each script can have it's own data template (specified by the \s-1PAGE\s0 parameter). If \s-1PAGE\s0 is unspecified, snippets will be retrieved from the last page visited by the user as determined by Slash::Apache::User. .SH "BENDER'S TOP TEN MOST FREQUENTLY UTTERED WORDS" .IX Header "BENDER'S TOP TEN MOST FREQUENTLY UTTERED WORDS" .IP "1." 4 ass .IP "2." 4 daffodil .IP "3." 4 shiny .IP "4." 4 my .IP "5." 4 bite .IP "6." 4 pimpmobile .IP "7." 4 up .IP "8." 4 yours .IP "9." 4 chumpette .IP "10." 4 .IX Item "10." chump