pwharff
05-14-2004, 11:11 PM
I know that when I'm scripting in BASH, I redirect a variable to another file by doing this:
echo $username >> log
I thought I could be smart and try to figure it out on my own with perl, with this:
print $username >> log;
But I was wrong, all it does is prints "0" and never even redirects into the "log" file. Any help or thoughts?
echo $username >> log
I thought I could be smart and try to figure it out on my own with perl, with this:
print $username >> log;
But I was wrong, all it does is prints "0" and never even redirects into the "log" file. Any help or thoughts?