Noah wrote:
Hi there,
How do I use the glob command to handle "~"?
I am getting file not found for something like ~/cvs/blah.pl
so this command dies with "file not found:"
open BBOUTPUT, "<$output_file" or die $!;
$output_file = glob( '~/cvs/blah.pl' );
open BBOUTPUT, "<$output_file" or die $!;
See:
perldoc -f glob
perldoc File::Glob
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
I like Perl; it's the only language where you can bless your
thingy.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/