http://qs321.pair.com?node_id=598825


in reply to Re: Use, Exporter, I'm Dizzy.
in thread Use, Exporter, I'm Dizzy.

Thank you for your response, that answers one of my questions. I renamed test.pm to test2.pm and my code now looks like this:
#! /usr/bin/perl use warnings; use strict; use test2(); my $output = testroutine(); print $output, "\n";
Outputs...
$ ./test.pl This is a test
However, how come I'm even able to call testroutine? I didn't think that use would populate my name space? Is it because I don't have package defined at the top of the module? Therefore it's assuming the subroutine is part of Main? Hope that makes sense.
Thanks again,
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;