Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: My number 1 tip for developers.

by Jenda (Abbot)
on Sep 14, 2003 at 15:49 UTC ( #291408=note: print w/replies, xml ) Need Help??

in reply to My number 1 tip for developers.

I guess the methodologies and all this stuff was discussed sufficiently by others so I'll add just a few shameless plugs :-)

1) I agree it's very nice to have some kind of interactive interface to Perl for testing tiny snipets of code. I don't really like the perl -de1 hack os I also wrote my own interactive interface allowing me to enter more lines at once and so for. You can find it on my page. It evaluates the code only after you enter a line that ends with a semicolon, allows you to execute external commands or print the value of something, allows you to paste whole subroutines without trying to eval them in pieces (in here-doc like syntax) and so forth. I find it most helpfull. (Yes I know there is some completely unrelated PSH on CPAN. My PSH was released first, but I did not get the namespace registered with and didn't upload without registration.)

2) The backups. Of course you should not write anything without a version control system, but of course you can't check in every single change. Having to remember to make a backup every time you make some change is tedious and not all editors will do that for you. In case you are using Windows you may find my helpfull. The script will backup everything you change in the directory every time you save it. Of course you'd better make sure you do not forget to turn this off ;-)

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://291408]
[choroba]: RonW Yes, but then, one day, they needed to switch from FTP to SFTP, and... but I can't give the whole talk away here :)
[RonW]: Tunnel FTP through stunnel?
[james28909]: i guess i should have done it in perl. i bet it woulnt have taken me 5 hours to figure out haha
[choroba]: In the end, I was able to upgrade Perl from 5.8.3 to 5.22 and install Net::SFTP::Foreign , at least for the task involved
[james28909]: what would be the best way to capture that stream with perl? ffmpeg args -rtp rtp://
[LanX]: if I was forced to talk about all security risks I encountered oO

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-05-22 21:45 GMT
Find Nodes?
    Voting Booth?