Hi GrandFather,
I had a typo which I corrected actually no slash is at the end of folder_path. Correct code is below, still producing incorrect output
my $folder_path = "/aboutiso/corp_gov/bod/agendas/2010"; my $try = "index.html"; my $test = "$folder_path/$try"; $folder_path =~ s#/\w+/[^/]*.\w+$##; print "folderpath: $folder_path\n";
In reply to Re^2: Regex output incorrect
by begood321
in thread Regex output incorrect
by begood321
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |