in reply to rtfm moment...
&dump(-file=>"foo.txt", -code=>"full", -blah=>"etc");
...your script would have worked just fine. Yet another reason to use the unloved ampersand in front of a subroutine call. :)
Hrmm, should perl -w say something when you make a pseudo-ambiguous call to a built-in function? Probably not: that's why I always use the ampersand to disambiguate things.
(Of course, sometimes you *want* function calls to appear a bit ambiguous :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: rtfm moment...
by tye (Sage) on Mar 08, 2001 at 22:22 UTC |