Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have what I think is a simple question, but so far my research has been fruitless. How do I restore the defaults for special variables such as $", $,, $#, etc.? If there is no good way to do this, is there a place that lists all the defaults so I can manually set them back (since for some, such as $# the default format is not immediately obvious).
oh, also, is there a way to get perl to recognize "0." as a number? it seems to think it is a string....(so $# formatting does not apply when it outputs "0.").
Thanks!
Justin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: restoring special variable defaults
by Roger (Parson) on Feb 07, 2004 at 01:06 UTC | |
|
Re: restoring special variable defaults
by Berik (Sexton) on Feb 07, 2004 at 01:16 UTC | |
|
Re: restoring special variable defaults
by ysth (Canon) on Feb 09, 2004 at 04:25 UTC | |
by Anonymous Monk on Feb 09, 2004 at 17:09 UTC | |
by ysth (Canon) on Feb 09, 2004 at 17:13 UTC |