假設你的TEXT FILE is foo, PERL file is bar.pl
#!/bin/sh
for line in `cat foo`
do
echo "$"$line >> foo.pl
done
在bar.pl裏,加上一行
require "foo.pl"
假設你的TEXT FILE is foo, PERL file is bar.pl
#!/bin/sh
for line in `cat foo`
do
echo "$"$line >> foo.pl
done
在bar.pl裏,加上一行
require "foo.pl"
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2024 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy