cosmicsoup has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to log into another machine and do a tail of a file and have that output of that tail go to an html page. The problem is that the filename that I am tailing via telnet is a variable:
Filename: /data/project/cann/log/cannedfile.$${bus_dt}$${bus_dt} is valid global variable on that machine and it should evaluate just fine (at least it does from the command line on that box. The problem is that telnet is converting the $$ to a number 8560721 (something like that).
In other words, the error message I get is:
file not found: /data/project/cann/log/cannedfile.8560721.{bus_dt}
update (broquaint): removed <table> tags and added some <code> tags
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Telnet weirdness
by insensate (Hermit) on Nov 11, 2002 at 16:04 UTC | |
by cosmicsoup (Beadle) on Nov 11, 2002 at 17:19 UTC | |
by insensate (Hermit) on Nov 11, 2002 at 17:24 UTC | |
|
Re: Perl Telnet weirdness
by pg (Canon) on Nov 11, 2002 at 16:48 UTC | |
|
A funny way to demo $$
by pg (Canon) on Nov 11, 2002 at 19:09 UTC | |
by broquaint (Abbot) on Nov 11, 2002 at 19:21 UTC |