skooter has asked for the wisdom of the Perl Monks concerning the following question:
============ Partial Code ================== #!c:\perl\bin\perl # Predeclare vars $var1="c\:"; $var2="/code/"; $thefile="$var1"."$var2"."blah.conf"; print($thefile,"\n"); open HANDLE,'>',"$thefile" or die; print(HANDLE <<FRED); <Directory "$var1$var2"> </Directory> FRED
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't pass filehandle value
by dpuu (Chaplain) on Nov 06, 2003 at 02:46 UTC | |
|
Re: Can't pass filehandle value
by BrowserUk (Patriarch) on Nov 06, 2003 at 02:55 UTC | |
|
Re: Can't pass filehandle value
by Roger (Parson) on Nov 06, 2003 at 02:53 UTC | |
by skooter (Initiate) on Nov 06, 2003 at 03:05 UTC | |
by Roger (Parson) on Nov 06, 2003 at 03:08 UTC |