Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Any idea how to pass a variable there ?

by davido (Archbishop)
on Jun 25, 2013 at 16:09 UTC ( #1040622=note: print w/ replies, xml ) Need Help??


in reply to Any idea how to pass a variable there ?

Single quotes don't interpolate. Use double-quotes so that you get variable interpolation. Or no quotes at all if a variable by itself contains the entire field.

my $gsm = new Device::Gsm( port => $variable ....

...or...

my $gsm = new Device::Gsm( port => "stuff/plus/$interoplation"...

Dave


Comment on Re: Any idea how to pass a variable there ?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-27 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls