in reply to Re^2: generate a new toc
in thread generate a new toc
OK I tried to do open (INP, "+>" $file)or die
The arguments of open() are separated with commas. You mean
open (INP, "+>", $file) or die;
Don't put single variables into double quotes, it is a useless interpolation (except when you use a reference of a package which overloads stringification, and know what you're doing).
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: generate a new toc
by grashoper (Monk) on Feb 20, 2008 at 23:59 UTC | |
by almut (Canon) on Feb 21, 2008 at 00:26 UTC | |
by grashoper (Monk) on Feb 21, 2008 at 00:44 UTC | |
by NetWallah (Canon) on Feb 21, 2008 at 01:38 UTC |