legend has asked for the wisdom of the Perl Monks concerning the following question:
If I want to put this into another file, how would I let the function take this value? I mean, suppose that I placemy $query = dbQuery( <<EOQ ); SUBJECT="ELECTRONICS" AUTHOR="JOHN" EOQ
into a different file,say filter.txt and supply it from command line as perl <filename> filter.txt, how would I make the program work? Can someone help me out please?SUBJECT="ELECTRONICS" AUTHOR="JOHN"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Achieving something similar to <<EOQ
by grinder (Bishop) on Mar 08, 2008 at 22:01 UTC | |
|
Re: Achieving something similar to <<EOQ
by chromatic (Archbishop) on Mar 08, 2008 at 22:01 UTC | |
|
Re: Achieving something similar to <<EOQ
by duelafn (Parson) on Mar 09, 2008 at 02:54 UTC |