Include variables from external perl script
- From: howachen@xxxxxxxxx (Howa)
- Date: Mon, 29 Oct 2007 23:56:50 -0700
Consider the example below...
Config.pl
======
#!/usr/bin/perl -w
my $value = "abc";
1;
Script.pl
======
require "Config.pl";
print $value; # How to do this, beside using .pm?
Thanks.
.
- Follow-Ups:
- Re: Include variables from external perl script
- From: Jeff Pang
- Re: Include variables from external perl script
- Prev by Date: how to get source of of web page which is hosted on the server (which I dont have access).
- Next by Date: RE: printf problem
- Previous by thread: how to get source of of web page which is hosted on the server (which I dont have access).
- Next by thread: Re: Include variables from external perl script
- Index(es):