in reply to Re: Printing the result of calling an instance method
in thread Printing the result of calling an instance method
Now you know better. But most people shown the above are going to get an interesting surprise when comparing:
So, even though using that shows you are an uber-cool Perl hacker, I don't...print "The current date is @{[localtime()]}.\n"; print "The current date is ".localtime().".\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 2: Printing the result of calling an instance method
by davorg (Chancellor) on Apr 02, 2001 at 13:33 UTC |