Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

by grep (Monsignor)
on Jun 07, 2007 at 16:31 UTC ( [id://619847]=note: print w/replies, xml ) Need Help??


in reply to Re: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
in thread any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

Unless I'm missing something - it doesn't have to be an overloaded obj or a symbolic ref. It could be just a non-explicit (DWIM) deref.
use strict; use warnings; use Data::Dumper; my $user = [ 'foo','bar' ]; push( @$user,'baz'); print Dumper $user;

grep
1)Gain XP 2)??? 3)Profit

  • Comment on Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-25 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found