in reply to sugession for the filecreating

This should give you a clue:
perl -le '$x=A;for(1..100){print $x++}'

Replies are listed 'Best First'.
Re^2: sugession for the filecreating
by sanku (Beadle) on Mar 24, 2008 at 06:35 UTC
    hi, i don't want it in for loop because i am going to run the program for each and every one hour. so, while compling the program second time i need to add the alphabetics at the end of the orginal file name
      I said it was a clue, not the whole solution :p

      And you obviously missed the clue. Let me explain....

      You want a sequence that goes A,B,....X,Y,Z,AA,AB, etc.... right?

      Then all you need to do is use the auto-increment operator (++). Suggest you have a read of perlop (look for the "Auto-increment and Auto-decrement" section).

      Cheers,
      Darren :)

        hi, thanks a lot, it's working fine