Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: hangover from perl...

by exussum0 (Vicar)
on Apr 27, 2004 at 15:25 UTC ( #348537=note: print w/replies, xml ) Need Help??


in reply to Re: hangover from perl...
in thread hangover from perl...

You could overload the $ and .= symbols.. :)

Replies are listed 'Best First'.
Re: Re: Re: hangover from perl...
by flyingmoose (Priest) on Apr 27, 2004 at 19:21 UTC
    Well, I don't know if you can override something that isn't an operator, but you can make macros and such :)

    Reminds me of the funny joke I saw once about C written in PASCAL:

    #define BEGIN { #define END }

    of course that can be made much more complex once our macros start taking parameters! :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://348537]
help
Chatterbox?
[Corion]: r@j: Have you printed what '$Process_java' prints? How will Perl know that you mean a variable named $Process and not a variable named $Process_java? Also, why doesn't Perl complain when you're using strict in your program?
[erix]: thanos1983: s/ For login purposes / For logging purposes / # I suppose ...
[r@j]: Actully $Process_Java this is getting from config file

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-10-23 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (280 votes). Check out past polls.

    Notices?