Appreciate if you can help me in understanding the meaning of below line in the following code. What exactly below means.
Thanks in advance.$bakjobs->{"$2"}{"dbt"} = $1; $bakjobs->{"$2"}{"cdt"} =$3;
#!/usr/bin/perl my %bakjobs; &cdtcall(\%bakjobs); sub cdtcall(\%) { local($bakjobs) = shift; local($file); open (FILE, "./HD/PQ/c.bak"); while (<FILE>) { if ( /^BAK(\w+)+\s+([\w\_]+)\s*/i ) { $bakjobs->{"$2"}{"dbt"} = $1; $bakjobs->{"$2"}{"cdt"} =$3; } } close (FILE); }
In reply to Understanding -> function by John007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |