Thank you so much, Mark.
In regards to your snippet, can I assign the values of the 2 substrings to independent variables that I can use later? In perl pattern memory/reference, the first(\d) I could call with $1 and the second with $2.
$bu = "$1";
$fincode = "$2";
I am looking to loop through a file containing lines of such:
1345672|1
4833891|9
7921648|2
The intended logic is if x matches the first number (before the pipe) then set $secondnumberval to the second number (after the pipe).
I've some basic experience with perl. With perl this can be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.