Never programmed with Perl, so question should be easy for you! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Never programmed with Perl, so question should be easy for you!

Sorry , my English...



I haven't never programmed with Perl but I should solve this little problem...

(Sorry, format code is not neccesary correct)

So here it is :



If I have a bunch of valiables for example like this:



Addueserdata('name', age' 'address');



Now, is there function which put this varibles to File in that way I can

read them later in straigth variable format????



for example: I wanna put 'name' to own database

and age to own database and address to own database.



In the other words, I wanna avoid put them in string format to file



If you know how to put themto file in that way Iike I want,Could you

advice me??



Thanks!



PS: I find this kind of functionbut I'm not sure what it do :



('name','age','address')=stat(file);












Sign In or Register to comment.