Ryan Dillinger wrote:
> Hello,
> I have a script here, that when I run it, it gives me this: Can't return
> outside a
> subroutine at tire.pl line 14. Can someone help me figure out what I'm
> doing wrong?
> Thank You very much for your help!
>
8< snipped

> return 1;

This is the statement it's complaining about. Try it without the "return":

1;


-- 
__END__

Just my 0.00000002 million dollars worth,
   --- Shawn

"For the things we have to learn before we can do them, we learn by
doing them."
  Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to