Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Moving Files

by leonidlm (Pilgrim)
on Aug 07, 2008 at 16:17 UTC ( [id://702920]=note: print w/replies, xml ) Need Help??


in reply to Moving Files

Hi, 1. Please explain in more details what you want to perform
2. You can do it in several ways:
a. Run it as another program:
system("/export/home/perl.exe myScript.pl");
b. Use the eval command:
open (F, '<', "test2.pl"); eval <F>; close (F);
This one will evaluate only one line, but you can read the whole file into one scalar and run it
c. What operation system you are using?
Hope I helped :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://702920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2026-03-09 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.