[ic] Will This GlobalSub Work?

Young Family ary@communicationfactory.com
Wed, 4 Apr 2001 15:18:50 -0700


Hi
If I want to open a file inside a globalsub, will this work? 

If so, how do I call my globalsub using the MML tags?

=========================================
GlobalSub <<EOF

    sub readafile {
       
       # ------- read a minivend variable --------------
       $userfile    =  $::Variable->{MY_DATA_FILE}

       # ---------- read a file using minivend tag -----
       $users = $Tag->file($userfile);

       # ............. do something else ...............................
        }
    EOF
==========================================
Alan Young
ary@communicationfactory.com