Hi there!!
Just wanted to know how to match the line containing $$$$ from a file.
Is this correct :
(my $row =~ /\$\$\$\$/)
Thanks in advance!!!

Recommended Answers

All 2 Replies

Yes, that's right.

Wait... do you really mean "my $row =~ ......"? That will re-initiate the value of the variable. Right? You need to have the $row declared and stored a value before doing the pattern match on that variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.