Added: 3 years ago
From: macheads101
Views: 34,327
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (57)

Sign In or Sign Up now to post a comment!
  • nice tutorial 

  • vi? nano ? WTF linux people! how come no one had write a program like edit (MS)? Is like using a rotten old knife to perform surgery! Is 2012 for god's sake!!

    I get it's useful for console purposes but I remember latest versions of edit.exe come with multiple file handling and mouse support, selects words, half lines, copy and paste was way too easy. How come I didn't heard of any of that for linux? I been looking around some time ago and couldn't find any similar. Any news?

  • @capitanqueso

    There is but you need to be running an x session to see it. Chances are if you are using a server of some sort, its in runlevel 3 where the gui isnt running.

  • @iamfaze exactly but a editcom was a MSDOS "console" program if you know what I mean, I'll like an editor like that in linux, so I can edit comfortably a extensive file lets say an apache vhost.conf file when I need to copy and paste a lot. All through remote console. In a X instance I can use ultraedit or komodo if that matters. I don't understand why linux tools have to be so uncomfortable. I get the security the password and all, but why the ugliness and discomfort?

  • @capitanqueso

    Linux wasn't made to be comfortable. It made to be optimal.If you use vim(enhanced vi), there is some useful syntax highlighting. But the real power is in the shortcuts.

    ex: open a file in vim. Then type :vs anotherfile.txt

    This will open a second editor side by side. use ctrl w+w to switch between them. Use yy to copy a line, it can carry data between the two open windows.

    Point being, it has a learning curve, but if you spend the time, you will gain greatly.

  • Perl Express is a neat little editor

  • Hey Man, i think you forgot to say that perl is a little bin like PHP becuz i know PHP and i wanted to learn some perl and i found perl easier after i found out its like php

  • 11yo boy? Hehe. Thumbs up.

  • If you were in my house i would compile a big fart and let it rip on your ear. Ur a sleezy little fag

  • I heard that facebook was made with some perl. What did Mark Zukerberg do with perl to help him develope facebook? In other words what role did perl play Mark Zukerberg's programing. Thanx. I subscribed!

  • @az100eletronics12

    Facebook front-end is Perl-based.

  • Shizzel

    Nice!!

  • you noob i know more than that and i program for the navy

  • @dvdratto Ok so why don't you go and defend our country instead of trolling an 11 year old boy?

  • Fuck american military! Respect american programmers!!!

  • @macheads101 EPIC!!!!

  • @dvdratto if thats true, then it stands to reason your at least 18 and he is 11. Chances are he knows more than this, and he will know more than you when he's your age.

  • GREAT WORK...

    Keep it on.

    Good for starting to learn it.

  • Subbed immediately when you named the variable shizzle.

  • how do I download this terminal thing?

  • this tutorial is shit i dont know what programs to use you just start jumping to the script what program, do I use in Windows holy shit it look nothing like yours!!!!!!!!!

  • Go alex

    

  • fag

  • Chomp removes the unecessary characters the STDIN will by default put in with your input, hence the newline. You can also do it all in one line as so:

    chomp($variable = -STDIN-);

  • Thanks. Very Helpful. Hope that you make more!

  • You're not even running ubuntu.

  • Thank you for the tutorial! I really enjoyed it! you made it simple

  • SWEET I LOVE IT

  • looks like c++ xD

    its similar?

  • where do I get perl editor and compiler?

  • @TheRatiniked In this tutorial I use ViM to edit a .pl file. I run it using the perl interpreter (located by default at /usr/bin/perl.) If you have an operating system other than mac, you will have to use a 3rd party text editor and possibly need to download a perl interpreter.

  • @macheads101 Not with linux.

  • How old are u? i guess u r a girl. r u married. i m single here. i like ur voice. its like pearls coming from ur voice.

  • Your video was helpful, thank you.

    But how did you save the file "Wee" from the terminal?

    It looked like you typed something at the bottom where the insert line is.

  • @brettrink that was just saving Via ViM. If you are considering coding in perl, if I were you I would use textedit, xcode, or nano, nothing like ViM. But if you want to say as I do you press Escape, then type :x and hit enter.

  • @brettrink in vi you escape out of edit mode, (Esc), then colon ( : ), type the letter ( w ) to save and ( q ) to quit, lower case.

    :wq [return]

  • @kpb96m if you want better tutorials, make them!

  • @macheads101 Totally agreed! I am not sure how old you are, but you seem like a very early teen... here you are with knowledge on how to program and offering free audio/visual lessons... and this dude who is probably at least four times your age can only whine about it. Keep up the good work and thanks a million!

  • @kpb96m Funny, I can see everything just fine. Perhaps you're blind or stupid. Whatever the case, you're an asshole. How old can this kid possibly be? Regardless, he did a fine job.

  • @kpb96m get the fuck out of 240 and get a better computer, stupid shit.

  • hello i am making a program where i can look at information of persons

    but i have a tiny problem

    when i want to type peter

    and by accedentely i typed petr eg i programmed that it will say "person not found" and then it does a logout

    how can i make that it automaticly goes back to who i want to type?

    grttz

    P.S.: u're great man i lurned a lot of you thnx

    APPLE

  • @pieter15884 you want to use loops. you can google "loops in perl".

  • Good vid but plz get a better recorder plz =)

  • thank you so much. sometimes it didnt work but that was because i didnt type in something correctly

  • WTF!? It doesn't work

  • nice work dude!

  • respect the kid, he did something

  • blow ur nose

  • sorry I had a cold.

  • Perl is an old language.... why not Python or Ruby? :P

  • Because back then I didn't know python nor Ruby. Still don't know Ruby.  But I agree.

  • hey how do you save the text file like oyu did through terminal like that?

  • I used a unix word processor. You should watch our terminal lessons to see how to do this kind of stuff.

  • cool vudeo

  • thanks

  • Great video! im gonna try to make a simulator with terminal. Any ideas?

  • before you try that, I will try making another Perl lesson by Wednesday. It will have if statements and other things you'll find more use full than anything you've learned so far.

  • thanks!

  • Your welcome.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more