Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: Using auto-increment operator for a alphanumeric value

Perl:  Using auto-increment operator for a alphanumeric value
{filelink=14829}

#!/usr/bin/perl -w
$a = "x9";    #alphanumeric
#After pre-increment
print ++$a, "n";         # "y0"
$a = "z5";
$a++;
#After post-increment
print $a, "n";           # "z6"

Users who found this page were searching for:

  • java add one list to another
  • javamail move mail to delete box
  • how to add calender in jpanel

No comments yet.

Leave a Comment