Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Legacy code question

by Zenzizenzizenzic (Scribe)
on May 13, 2019 at 14:23 UTC ( #1233700=note: print w/replies, xml ) Need Help??


in reply to Re: Legacy code question
in thread Legacy code question

Nothing is added to it, only use is as \@sqltt. I'm thinking this is a "do not do" thing. Thank you!

Replies are listed 'Best First'.
Re^3: Legacy code question
by haukex (Bishop) on May 13, 2019 at 14:30 UTC
    Nothing is added to it, only use is as \@sqltt. I'm thinking this is a "do not do" thing.

    It still depends on the surrounding code - if it's being passed to a function that expects an arrayref, then some form of such is required, either my @sqltt = (<<EOF); ... func(\@sqltt), my $sqltt = [<<EOF]; ... func($sqltt), or my $sqltt = <<EOF; ... func([$sqltt]) would be needed (which one is a matter of taste), and "do not do" wouldn't necessarily apply. Context matters :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1233700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2020-10-23 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (234 votes). Check out past polls.

    Notices?