I'm stuck a little in a think-problem about strict and
perl script-include functions.
Is it possible to have variables in a script (for example
a variable called "$user_id") and give this variables over
to a script I include use the perl-function "do"?
This script would be a possible example for my problem:
my $user_id = 10;
print "end of mother script!
print "end of child script!
now my problem appears - the output of the script is the
end of child script!
end of mother script!
but the variable "$user_id" that has got the value "10",
it got in the first line of "mother.pl" is not given out
because it does not have any value in "child.pl" - is there
a way to make this variable "global", to use it in "child.pl"?
would be glad on any help or solution on this problem!