|
tef posted:A developer. Aye. When in doubt, look up "due diligence" and the legal ramifications of the lack thereof as it concerns credit card information. You don't want to be holding this bag.
|
# ¿ Apr 2, 2008 23:23 |
|
|
# ¿ May 7, 2024 09:52 |
|
MrHyde posted:So are you saying instead of the open(...) or do { die; } (it's what I use in PHP so I just intuitively used it here) I should just put the open statement inside an if? Would I just put the {die;} portion of the code inside an else then? I believe he's referring to open(CONFIG, $_[0]), suggesting that you instead explicitly open the file only for input using open(CONFIG, '<', $_[0]. The difference is that the first one, as he pointed out, does bad things to what it opens if there was preexisting data. edit: My first post in the Perl thread! Now I am a man.
|
# ¿ Jul 10, 2008 16:47 |