in reply to another CGI question ... passing values to another script
Or, since you just want to pass a single piece of data, you can pass it directly via system / ARGV or GET query / QUERY_STRING. Though depending on what you want to do (process your variable with a sub in a secondary script?), it might make more sense to use or require or do, like tlm suggests above.
|
|---|