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
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
> -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