No such thing as a small change | |
PerlMonks |
Re^3: insert data into data structureby Ea (Chaplain) |
on Nov 30, 2015 at 11:15 UTC ( [id://1148883]=note: print w/replies, xml ) | Need Help?? |
This if($line =~ /^\.+\$/) probably doesn't do what you want. To my eyes, it only matches a line that begins
.+$, but backslash $ doesn't seem to do anything other than mess up the match. You might try the Regular Expression test page. If that first line doesn't match, you never get anything in @listSection, so there's nothing to Dump.
Sometimes I can think of 6 impossible LDAP attributes before breakfast.
http://act.yapc.eu/lpw2015/ It's that time of year again!
In Section
Seekers of Perl Wisdom
|
|