Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: running string as perl script and pass into STDIN programatically

by gideondsouza (Pilgrim)
on Feb 17, 2013 at 19:13 UTC ( #1019192=note: print w/replies, xml ) Need Help??


in reply to Re: running string as perl script and pass into STDIN programatically
in thread running string as perl script and pass into STDIN programatically

Thank you VERY much both of you for your answers :D

Its super late at night, I gave the code a go and it works. I will try with my app immediately tomorrow.

Quick question I was planning to use temp files, but should use File::Tempdir for the temporary directory? How should I best take care of all those files generated?

  • Comment on Re^2: running string as perl script and pass into STDIN programatically

Replies are listed 'Best First'.
Re^3: running string as perl script and pass into STDIN programatically
by aitap (Curate) on Feb 17, 2013 at 19:19 UTC
    AFAIU, both File::Temp and File::Tempdir destroy the apporpriate files/directories when their object comes out of scope (e.g. at the end of {} block where it was declared using my).
    Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019192]
help
Chatterbox?
[Corion]: I'm coming to the slow/late realization that Linux is far better/convenient for rooting/modifying Android devices than Windows, as there is much less baggage interfering with adb when you want to send new firmware to a device...
[Corion]: But I think I missed the big sell-off of Amazon Kindle Fire 7 (2015) devices, as they're not for sale anymore and the newer devices don't have a replacement Android yet. But at EUR 40 per device, they were quite OK
[Corion]: So now I am on the lookout for other tablets in that price range or lower, to repurpose them for whatever ;) One is used by my sister as clock in a photoframe, and this one will be used by my father as display device to entertain unruly kids
[marto]: yes, trying to do anything other than sideload to android via windows has always been more effort than linux

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2018-05-23 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?