Changeset 2350
- Timestamp:
- Nov 12, 2004, 11:53:55 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/misc/perlCodeConventions.tex (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/misc/perlCodeConventions.tex
r2349 r2350 1 %%% $Id: perlCodeConventions.tex,v 1. 6 2004-11-12 21:14:27jhoblitt Exp $1 %%% $Id: perlCodeConventions.tex,v 1.7 2004-11-12 21:53:55 jhoblitt Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 28 28 \begin{tabular}{|p{1in}|p{2.75in}|p{2.75in}|} 29 29 \hline 30 %%% References here. 30 31 \textbf{\PS{} ID} & \textbf{Title} & \textbf{Author} \\ 31 32 430-004 &Pan-STARRS IPP C Code Standards &Robert Lupton\\ 32 \hline33 %%% References here.34 33 \hline 35 34 \end{tabular} … … 166 165 # Copyright (C) 2004 Joshua Hoblitt 167 166 # 168 # $Id: perlCodeConventions.tex,v 1. 6 2004-11-12 21:14:27jhoblitt Exp $167 # $Id: perlCodeConventions.tex,v 1.7 2004-11-12 21:53:55 jhoblitt Exp $ 169 168 170 169 use 5.008005; # optional … … 223 222 # Copyright (C) 2004 Joshua Hoblitt 224 223 # 225 # $Id: perlCodeConventions.tex,v 1. 6 2004-11-12 21:14:27jhoblitt Exp $224 # $Id: perlCodeConventions.tex,v 1.7 2004-11-12 21:53:55 jhoblitt Exp $ 226 225 227 226 package Foo; … … 247 246 248 247 \subsubsection{Perl Documentation} 248 249 In most cases documentation should be included as in line Pod within a 250 \code{.pl} file. If a piece of stand alone documentation is required this is 251 the general format that it should follow: 252 253 \begin{verbatim} 254 =pod 255 256 =head1 NAME 257 258 Foo - Does something with Baz. 259 260 =head1 SYNOPSIS 261 262 use Foo; 263 264 ... 265 266 =head1 DESCRIPTION 267 268 More details about what this modules does with Baz. 269 270 =head1 USAGE 271 272 =head2 Import Parameters 273 274 This module accepts no arguments to it's C<import> method and exports no 275 I<symbols>. 276 277 =head2 Methods 278 279 =head3 Class Methods 280 281 =over 4 282 283 =item * methodOne 284 285 details of methodOne 286 287 =item * methodTwo 288 289 details of methodTwo 290 291 ... 292 293 =back 294 295 =head1 SUPPORT 296 297 Where to get help. 298 299 =head1 AUTHOR 300 301 Principle authors and contact info. 302 303 =head1 COPYRIGHT 304 305 Copyright (C) 2004 Robert Lupton. All rights reserved. 306 307 This program is free software; you can redistribute it and/or modify it under 308 the terms of the GNU General Public License as published by the Free Software 309 Foundation; either version 2 of the License, or (at your option) any later 310 version. 311 312 This program is distributed in the hope that it will be useful, but WITHOUT ANY 313 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 314 PARTICULAR PURPOSE. See the GNU General Public License for more details. 315 316 You should have received a copy of the GNU General Public License along with 317 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 318 Place - Suite 330, Boston, MA 02111-1307, USA. 319 320 The full text of the license can be found in the LICENSE file included with 321 this module, or in the L<perlgpl> Pod as supplied with Perl 5.8.1 and later. 322 323 =head1 SEE ALSO 324 325 L<Bar::Baz> 326 327 =cut 328 \end{verbatim} 249 329 250 330 %------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.
