[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Will This GlobalSub Work?
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
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users