in reply to Re^2: what's "plots are not rendered as ASCII art" ?
in thread what's "plots are not rendered as ASCII art" ?
But I don't know what's the function of "$dat=~s/"\//"http:\/\/dis.embl.de\//g;"
It substitutes "/ with "http://dis.embl.de/, which presumably has the effect that IE will fetch URIs affected by the substitution remotely instead of trying to load them from your local disk (where tmp2.html resides).
For example:
my $dat = '<img src="/foo.jpg">'; $dat=~s/"\//"http:\/\/dis.embl.de\//g; print $dat; # <img src="http://dis.embl.de/foo.jpg">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: what's "plots are not rendered as ASCII art" ?
by genbank (Novice) on Apr 15, 2011 at 11:50 UTC |