saving results of a perl Mechanize::FireFox task - HowTo
good day dear Linux-experts and coding-friends
i run a tiny little script with perl Mechanize :: Firefox Code:
Well if i run this above mentioned code it gives the following output in the terminal Code:
whats the problem with this: well the above mentioned code will write the results to the /tmp directory, at the root level of the drive. If we reboot, they'll be gone, but it's a place any process can write to regardless of user. That is the good thing. what is needed? We have to do some changes: Well we have to do a change with the the directory to whatever location we want. well i try to get the files created in a folder in /perl How to do that!? |
Do you understand the meaning of
Code:
my $temp = '/tmp'; |
hello dear Sergei
many thanks - guess that we can define some kind of target "folder" and subesquently file where the results are written to?! Quote:
can we!? Code:
my $temp = '/tmp'; Well - if we want to have another folder for the results. Eg. some folder in perl/ where the the code resides in!? love to hear from you greetings say |
It'd be quicker to take his hint and just try it :)
Here's some useful links http://perldoc.perl.org/ http://www.perlmonks.org/?node=Tutorials |
All times are GMT -5. The time now is 01:18 AM. |