[Ilugc] [TIP] perl tutorial X (some code tidbits)

2011-12-11 Thread Girish Venkatachalam
Hope you are familiar with the programming language by now. If some of you still dunno how to execute a simple perl script, please remember this. $ perl foo.pl $ cat foo.pl for(1..1000) { print; print \n; } You can easily accomplish many difficult tasks in text processing with perl

Re: [Ilugc] [TIP] perl tutorial X (some code tidbits)

2011-12-11 Thread Suraj Kumar
On Mon, Dec 12, 2011 at 8:21 AM, Girish Venkatachalam girishvenkatacha...@gmail.com wrote: Perl cannot be run interactively like Python. You have to run it one script at a time. The Perl interpreter's inbuilt debugger comes close to it. You can add the '-d' switch like 'perl -d myscript.pl'