Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's Perl equivalent of Unix export variable command

Status
Not open for further replies.

PhillipJones

Programmer
Joined
Aug 10, 2005
Messages
6
Location
GB
What's Perl equivalent of Unix export variable command ?

When I run Microfocus Cobol programs under Unix I code -
Select Master_File assign to Mastin. (in cobol)
and associate the cobol filename with the Unix filename so -
export Mastin=/prod_master_file
Can I do somthing similar in Perl ?
Thankyou.

 
In perl read any file your user has permission to do.

I'm assuming you referring to a disk written file, so if that's the case perl can read it

If not, have a look on for IPC

HTH
--Paul

Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top