Newsgroups: fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!tweedledum!rainbow!green00.jed.uec.ac.jp!sekita-n
From: sekita-n@jed.uec.ac.jp (Sekitani Nobutaka)
Subject: Re: Please tell me how to use print in sub.
In-Reply-To: ymatsu@vid.cpg.sony.co.jp's message of Tue, 19 Nov 1996 05:34:08 GMT
Message-ID: <SEKITA-N.96Nov19163648@green00.jed.uec.ac.jp>
Originator: news@green00.jed.uec.ac.jp
Sender: news@jed.uec.ac.jp (Usenet News System)
Nntp-Posting-Host: green00.jed.uec.ac.jp
Organization: Department of Computer Science and Information Mathematics, The
	University of Electro-Communications
References: <1996Nov19.053408.11575@vid.cpg.sony.co.jp>
Date: Tue, 19 Nov 1996 07:36:48 GMT
Lines: 30
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:1463
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=1463&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B4XC+!wEEDLBg$G$9!#(B
<1996Nov19.053408.11575@vid.cpg.sony.co.jp>$B$K$F(B
ymatsu@vid.cpg.sony.co.jp (Yutaka Matsumoto)$B!?>>K\(B@$B%7%9%3%s$5$s$$$o$/!"(B

  >$B$3$3$O!"5W$7$V$j$G$9!#!J(Bperl $B$N%W%m%0%i%`$,5W$7$V$j$@$+$i!K(B
  >$B$A$g$C$H$*$*$\$1$+$b$7$l$^$;$s$1$I!#(B

  >print "I'm in main script\n" ;
  >printhelp ;

  >sub printhelp
  >{
  >    print "I'm in sub\n" ;
  >}

  >$B$r<B9T$7$?$i!"(Bsub $B$NCf$G$N!!(Bprint $B=PNO$,=P$F$-$^$;$s!#$I$3$+$K(B
  >$B>C$($F$7$^$$$^$9!#(B
  >perl $B$N%P!<%8%g%s$O!"(B4.0 p36$B$G$9$,!#(B
printhelp;
$B$8$c$J$/$F(B
&printhelp;
$B$r;H$C$F2<$5$$!#(B
Ver5$B0J9_$J$i$D$1$J$/$F$bBg>fIW$G$9$,!#(B

---
$BEE5$DL?.Bg3X(B $B>pJs9)3X2J(B $B#2G/(B|% $BM==,(B
$B4XC+(B $B?.5.(B($B$;$-$?$K(B $B$N$V$?$+(B)|file system full.
e-mailsekita-n@jed.uec.ac.jp|% $B<x6H(B
s9512084@edu.cc.uec.ac.jp|file system full.;_;
HomePage: http://raven.cc.uec.ac.jp/~s9512084/
