User Profile

Collapse

Profile Sidebar

Collapse
rzismanx
rzismanx
Last Activity: Nov 9 '08, 03:31 PM
Joined: Oct 27 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I'm just stupid

    Thanks for the reply.

    At the begining it did not worked becuase i forgot somthing:
    Code:
    (system ("[U]perl[/U] /path/sc2.pl $first $second ")== 0) or die "myprogram failed ($?): $!";
    I forgot the "perl" at the command, that why it could not execute the second script.
    Stupid, isn't it

    Thanks a lot
    See more | Go to post

    Leave a comment:


  • Hello again


    The problem with what you suggested is that script1
    does a lot of things and among those things it is printing out
    some results.So how exectly can i extract that certain data that is needed for script2 from script1.
    furthermore i need to transfer two arguments.
    Isn't <> waits for one variable?

    Thanks again
    See more | Go to post

    Leave a comment:


  • Execute script2 from script1 and transfer two arguments to script2

    Hello everybody

    need help:
    How do i execute script2 from script1 and transfer two things
    $first and $second from script1 to script2
    Need to do it in unix enviroment and windows also(cmd).

    There is a command :system()
    i used it as follows:
    Code:
    #script1;
    system ("/just/an/example/script2 $first  $second  ");
    Did not see any response to this...
    See more | Go to post

  • Thanks for the response.
    I used $file as file handle,had the same result:
    First time it's working the second time it's empty.
    When i write second time i mean it could 500 time because i open the file and reopen it to check if it was updated using stat function.The funny thing is that i'm able to recognize if it was updated or not using open with filehandle but when i want to spread the data to an array i get it empty.
    ...
    See more | Go to post

    Leave a comment:


  • Reopening file only if it was updated using regular open

    Hello
    I'm trying to reopen a certain file but only if it's updated:
    The problem is when i try to open a file (after it was changed and saved by me)for reading second time, i get nothing, like the file is empty but it's not.
    The filehandle is empty.Why?
    DOn't have a clue.
    The code is below.
    can some one help?
    Thanks
    Code:
    $last_acces=time;
    while($end_ctsc)
    {
    $full_path_file=lastmodifiedfile("path");
    ...
    See more | Go to post
No activity results to display
Show More
Working...