What is this called: ($myvar->{otherid}) ? 'stringA' : 'stringB';

2003-11-20 Thread Jeff Kowalczyk
I'm not yet able to read certain parts of perl code. What is this comparison/alternation after the hash lookup on 'otherid' called, and what does the code do? $myvar->{id} = ($myvar->{otherid}) ? 'stringA' : 'stringB'; Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

using perl interpreter interactively like python?

2003-11-20 Thread Jeff Kowalczyk
I'd like to open perl and execute a few commands interactively in the console. I learn a lot in python this way, and I need to understand some perl code. Did this kind of thing ever get added to perl? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

pydoc-like tool to generate html from uncommented perl cgi source code

2003-11-19 Thread Jeff Kowalczyk
I'm trying to find a simple tool to run over a CGI perl application and output hyperlinked index of source code at the function level, preferably syntax-colored. None of the files are formally commented at this point, so tools like NaturalDocs are not going to give anything back. robodoc isn't out