Re: callin subs

2002-03-22 Thread Matthew Harrison
all sorted now, thanks to you experts. it was because I have prefixed my variables with 'my' which restricted them. On Friday 22 Mar 2002 3:34 pm, Matthew Harrison wrote: > is there something that says a variable doesn;t get passed when calling a > sub in the same script? i am working on a web-b

re: callin subs

2002-03-22 Thread Matthew Harrison
is there something that says a variable doesn;t get passed when calling a sub in the same script? i am working on a web-based role-playing game and this is the script for inside the temple: #!/usr/bin/perl ##Modules## use CGI qw/:standard/; use CGI::Carp "fatalsToBrows

RE: callin subs

2002-03-22 Thread Jason Larson
> -Original Message- > From: Matthew Harrison [mailto:[EMAIL PROTECTED]] > Subject: callin subs > > i have defined a sub using > > sub mysubname{ > code here > } > > but how do i call it? i have tried just having the name but > that doesn't > work. > > -- > Matthew Harrison m