|Problems? Is your data what you think it is?|
Use of uninitialized value when using regexby PerlScholar (Acolyte)
|on Sep 12, 2010 at 13:23 UTC||Need Help??|
PerlScholar has asked for the wisdom of the Perl Monks concerning the following question:
I'm getting the error: Use of uninitialized value in string at Z:/My Documents/Workspace/myscript.pl line 23 when trying to read something from a file
My file contains just one line: "Version=2010-09-01_17-29-04 Build=26" and i'm trying to get the last numbers i.e "26". Any ideas? Appreciate it thanks!
my $dir1 = 'Z:\My Documents\Workspace'
open (VFILE, $versionFile)|| die $!;