in reply to Need help to change from windows perl to linux perl

You are going to know perl's origins.

You'll notice that not only perl uses shebangs at the starting of the script. This is because LINUX doesn't need to see the file extension to know the language of the script. Said so, you could put a perl script without the .pl extension at the bin/ directory and use it as your new and private command, for everyday use!

You should read about BASH or the sh(ell) scripts that are cousins of perl, as well as awk and sed. After this, your perl is going to improve a lot. Perl appeared as a usefull way of simplifying these powerful commands. So, perl should do the same as all these. AWK is like a living REGEX scripting language. (ask Merlyn).

You should know about chmod and chown since you are no longer at the kinder. This is a heavy weight, it runs most Internet servers. You are now working as if you where using a big MainFrame as NASA or PIXAR have. Machines shared by lots of people connected at big networks.

So, the starting is a bit hard, but the reward is that you are going to finally become another guru. And what matters most, you are going to improve a lot your perl skills.

Use the force, Luke!

Replies are listed 'Best First'.
Re: Welcome 2 the JEDIes world!
by chanio (Priest) on Jun 21, 2005 at 18:57 UTC
      having recently taken that step myself, some up-to-date tips: - with debian, perl is all installed automatically and works out-of-the-box; - even if you're new to the unix world you can soon get the hang of file permissions, but the fun really starts with mysql: that caused me a lot of frustration - you have to change the file ownership (if they're pulled over from windows) to "mysql" as well; - tried kdevelop as DE for perl and got into a hopeless tangle: it's using a steamroller to crack a nut; - what I like a lot as my perl DE is SciTe (there's a deb package); there's just a problem under kde with the window frame font sizes (because it's gtk). The solution you'll find on the net of installing gtk2-engines-gtk-qt didn't work (at least the debian package). Scite wouldn't launch afterwards, and I had to deinstall gtk2-engines and delete a couple of *rc config files before it would run again. ..apart from that, all is sweetness and light (...well, most of the time) good luck.
        Yes, perl comes updated in every version of Knoppix. SciTE installed easily without trouble with Debian's package. As Knoppix has most LINUX parts virtual, I created a .SciTE/ directory at HOME and loaded there my own versions of the three .properties files and the perl.api, etc.

        What I like of Knoppix is that it's fixed structure helps me avoid screwing up something, for my lack of experience.

        It is like consulting the horoscope every morning instead of simply living. But I need this until my experience is able to touch every part of LINUX without fear of loosing my stability. I know I'll reach that state.

        About MySQL, I knew that there was a reason to avoid touching it that I couldn't remember, cause I now find myself avoiding most databases if they are not SQLite.

        .{\('v')/}   C H E E R   U P !
         _`(___)' ___a_l_b_e_r_t_o_________
        
        Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established.