in reply to Increase efficiency of script
Reading line by line is bound to slow you down a bit, though I don't know how much, if any, this will help.system('cat', $file)
Update: Why even use perl here...just:
#!/bin/sh echo "(html header stuff)" echo "</pre>" cat file1 file2 file3 echo "</pre></html>"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Increase efficiency of script
by davido (Cardinal) on Mar 20, 2004 at 08:48 UTC | |
by bart (Canon) on Mar 20, 2004 at 17:43 UTC |