Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created December 11, 2013 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bessarabov/7909109 to your computer and use it in GitHub Desktop.
Save bessarabov/7909109 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use 5.010;
use Data::Dumper;
my $letter = 'a';
my $tmp_filename = '';
foreach (1..100) {
$tmp_filename = $letter . ".txt";
last if !-e "./$tmp_filename";
$letter++;
}
system("vim $tmp_filename");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment