Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: unix to perl questions

by GrandFather (Saint)
on Mar 12, 2015 at 08:56 UTC ( [id://1119754]=note: print w/replies, xml ) Need Help??


in reply to Re^2: unix to perl questions
in thread unix to perl questions

Komodo Edit or Sublime are good programmer's editors on Windows. However if you are doing this in the context of Unix you'd be better to set up a virtual machine (Virtual Box or VM Player for example) on your Windows box and run Unix in the VM. That way you can work with a real unix system and tools. There's a bit of work getting everything going that way, but you'll learn a lot!

Perl is the programming world's equivalent of English

Replies are listed 'Best First'.
Re^4: unix to perl questions
by deyaneria (Acolyte) on Mar 12, 2015 at 16:50 UTC
    I actually do run oracle VM with Ubuntu and use vi for the my editor. I just like to work it out in word first...I write out the pseudocode and then what the real code would be. As this is only my second week writing in perl there are many mistakes and I have to do a ton of research(it's not always conducive to have vm running with bunch of tabs open on my laptop).I remember the days of COBOL I pouring over lines of printed code and real drawn out flowcharts on huge graph paper.

      I'd strongly suggest you skip the Word step. Maybe you'd be happier using something like nano (*nix's equivalent of notepad) instead of vi, unless you are comfortable using vi.

      A good learning technique is to add very small amounts of code at a time and run the code to check it does what you expect. Although you have yet another tool to learn, learning to use the debugger even just a little bit can help a lot in understanding what your code is doing. There are many other debugging techniques than just using the debugger, but in my view a good debugger gives much better direct information about what your code is doing than any other technique.

      It is also important to understand why you are getting error with strict and warnings. Almost always they are telling you about badness in your code. If you don't understand an error, reduce the code to a minimum that shows the error and bring both the code and the exact error message (copy and past is your friend) here and we will help.

      Perl is the programming world's equivalent of English
        That is problem I can't copy inside the shell and paste to anything outside it or vice-versa. I can copy within vi to vi, but that's it I even set the machine to bidirecitonal, shared clipboard, but alas, it doesn't work. This may be because I didn't want to dual boot my system. I'm on laptop.I end up taking screen shots for my Professor luckily he prefers them. I am getting pretty proficient with vi though. Still trying to figure why they would torture us with two scripting languages in 5 weeks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1119754]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found