in reply to While loop wont work
This will print filenames until you tell it to quit, but how you want to print those files, I'll leave it up to you.#!/usr/bin/perl -l use strict; use warnings; $|=1; my $filename = ''; until ($filename eq 'q') { print "Enter a filename"; chomp ( $filename = <STDIN> ); }
|
|---|