Tag Archives: mvc

How Not to Ask a Question

I received this email last week. I often get random email from people I don’t know asking for help with Perl problems and I’m happy to help whenever I can (although I always point our that Perl Monks is going to get better answers in less time).

But if you’re going to ask random strangers for help, you should probably make a bit more effort than this person did. I’ve reformatted it and corrected the English.

Hello sir,

I am new developer in perl scripting language using MVC Frame works, my doubt is how to write below query in MVC.

$query = "select belarc_update_dt
from   Device
where  belarc_update_dt  >  $expiry_date
AND    belarc_update_dt <= $current_date
AND    (scrapped_on > $current_date
OR scrapped_on = '0000-00-00')";

the above query how to write in mvc frameork can we please help me sir,

Thanks and Regards

How would you reply to mail like that?

Update: I asked which MVC framework he was using. He replied:

I am using CGI::Carp ‘fatalsToBrowser’ with linux shell.

At that point I gave up.