in reply to how to Check file type?
#!/usr/bin/perl -w my $filename = "this.is.my.filename.txt"; my @bits = split /\./, $filename; print pop @bits;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to Check file type?
by TomDLux (Vicar) on Dec 02, 2010 at 19:44 UTC | |
by ChuckularOne (Prior) on Dec 02, 2010 at 20:24 UTC |