Windows Perl Scripting Forums » Perl

slickedit

(1 post)
  • Started 6 years ago by

  1. Anonymous

    i have this perl code snippet which i want to invoke from visual slick edit..
    %data = ('x','y','z','a','b','c');
    open logfile,">test.txt";
    $deldata = delete $data{'x'};
    print logfile $deldata;
    close logfile;
    @args = ("C:/Program Files (x86)/SlickEdit 2009/win/vs.exe", "C:/Users/anits/Desktop/test.txt");
    system(@args) == 0 or die "system @args failed: $?";
    i am trying to invoke it with the following shell command in a .e file but it just doesnt work..can anybody help me out please..
    #include "slick.sh"
    #import "slickc.e"
    _command void hello()
    {
    shell("C:/Users/anits/Desktop/x.pl")
    }

    Posted 6 years ago #

RSS feed for this topic

Reply

You must log in to post.